o

mill.util

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scripts
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def formatMainMethodSignature[T](base: T, main: EntryPoint[T], leftIndent: Int, leftColWidth: Int): String
  9. def formatMainMethods[T](base: T, mainMethods: Seq[EntryPoint[T]]): String
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getLeftColWidth[T](items: Seq[ArgSig[T, _]]): Int
  12. def groupArgs(flatArgs: List[String]): Seq[(String, Option[String])]
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def mainMethodDetails[T](ep: EntryPoint[T]): String
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. implicit def pathScoptRead: Read[Path]

    Additional scopt.Read instance to teach it how to read Ammonite paths

  20. def renderArg[T](base: T, arg: ArgSig[T, _], leftOffset: Int, wrappedWidth: Int): (String, String)
  21. def renderArgShort[T](arg: ArgSig[T, _]): String
  22. def runMainMethod[T](base: T, mainMethod: EntryPoint[T], scriptArgs: Seq[(String, Option[String])]): Res[Any]
  23. def runScript(wd: Path, path: Path, interp: Interpreter, scriptArgs: Seq[(String, Option[String])] = Nil): Res[Any]
  24. def softWrap(s: String, leftOffset: Int, maxWidth: Int): String
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped