ammonite.main

Code related to invoking Ammonite from the outside world: default configuration, running scripts, printing error messages, etc.

Type members

Classlikes

case class Config(core: Core, predef: Predef, repl: Repl, rest: Leftover[String])
Companion:
object
object Config
Companion:
class
object Scripts

Logic around using Ammonite as a script-runner; invoking scripts via the macro-generated Router, and pretty-printing any output or error messages

Logic around using Ammonite as a script-runner; invoking scripts via the macro-generated Router, and pretty-printing any output or error messages

object TrapExitSecurityManager extends SecurityManager

This security manager is assigned as default one when we run user scripts with the --watch option This allows to trap sys.exit by throwing a special TrapExitException

This security manager is assigned as default one when we run user scripts with the --watch option This allows to trap sys.exit by throwing a special TrapExitException