ScalaCliBootstrapSourceFactory

declslides.application.ScalaCliBootstrapSourceFactory

Default bootstrap source factory for the Scala CLI runner.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def create(userSource: String, declslidesDependency: String, scalaVersion: Option[String]): Either[ApplicationError, String]

Creates the bootstrap source for a user script.

Creates the bootstrap source for a user script.

Attributes

Returns

the generated bootstrap source, or an application error if the template cannot be loaded

Definition Classes