package main
Code related to invoking Ammonite from the outside world: default configuration, running scripts, printing error messages, etc.
- Alphabetic
- By Inheritance
- main
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- object Cli
- object Compat
-
object
Router
More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection.
More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection. This saves us spinning up the Scala compiler and greatly reduces the startup time of cached scripts.
-
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