(predefCode: String = "", predefFile: Option[Path] = None, defaultPredef: Boolean = true, storageBackend: Storage = ..., wd: Path = ammonite.ops.pwd, welcomeBanner: Option[String] = Some(Defaults.welcomeBanner), inputStream: InputStream = System.in, outputStream: OutputStream = System.out, errorStream: OutputStream = System.err, verboseOutput: Boolean = true, remoteLogging: Boolean = true, colors: Colors = Colors.Default, replCodeWrapper: CodeWrapper = Preprocessor.CodeWrapper, scriptCodeWrapper: CodeWrapper = Preprocessor.CodeWrapper) extends Product with Serializable
Contains the various entry points to the Ammonite REPL.
Any additional code you want to run before the REPL session starts. Can contain multiple blocks separated by
Do you want to include the "standard" predef imports provided by Ammonite? These include tools like
|?pipes from ammonite-ops, and other helpers. Can be disabled to give a clean namespace for you to fill using your own predef.
Where will all of Ammonite's persistent data get stored? Things like any
predef.scfile, compilation/ivy caches, etc.. Defaults include Storage.Folder and Storage.InMemory, though you can create your own.
The working directory of the REPL; when it load scripts, where the scripts will be considered relative to when assigning them packages
Where input to the Repl is coming from, typically System.in, but it could come from somewhere else e.g. across the network in the case of the SshdRepl
Primary output of code run using Ammonite
Error output when things go bad, typically System.err; also gets sent miscellaneous info messages that aren't strictly part of the REPL or script's output
- object Main extends Serializable