Entrypoint

case class Entrypoint[A](name: String, invoke: A => Iterable[String] => Unit)

A wrapper around an application entrypoint.

This is glue code that is typically generated by a macro. It represents an application method that has been lifted into a lambda.

Type Params
A

Type of the class containing the entrypoint.

Value Params
invoke

Run the wrapped method on the given instance and arguments.

name

The name of the entrypoint. This can be used as the name of a subcommand.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product