mainargs
Members list
Type members
Classlikes
Models what is known by the router about a single argument: that it has a longName, a human-readable typeString describing what the type is (just for logging and reading, not a replacement for a TypeTag
) and possible a function that can compute its default value
Models what is known by the router about a single argument: that it has a longName, a human-readable typeString describing what the type is (just for logging and reading, not a replacement for a TypeTag
) and possible a function that can compute its default value
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
What is known about a single endpoint for our routes. It has a name, flattenedArgSigs for each argument, and a macro-generated invoke0 that performs all the necessary argument parsing and de-serialization.
What is known about a single endpoint for our routes. It has a name, flattenedArgSigs for each argument, and a macro-generated invoke0 that performs all the necessary argument parsing and de-serialization.
Realistically, you will probably spend most of your time calling Invoker.invoke instead, which provides a nicer API to call it that mimmicks the API of calling a Scala method.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParamResult.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParserForClass.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParserForMethods.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Renderer.type
Represents what comes out of an attempt to invoke an Main. Could succeed with a value, but could fail in many different ways.
Represents what comes out of an attempt to invoke an Main. Could succeed with a value, but could fail in many different ways.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Failuretrait Earlyclass NoMainMethodsDetectedclass SubcommandNotSpecifiedclass UnableToFindSubcommandclass Exceptionclass InvalidArgumentsclass MismatchedArgumentsclass Success[T]Show all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TokenGrouping.type
Represents the ability to parse CLI input arguments into a type T
Represents the ability to parse CLI input arguments into a type T
Has a fixed number of direct subtypes - Simple, Constant, Flag, Leftover, and Class - but each of those can be extended by an arbitrary number of user-specified instances.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Class[T]class ParserForClass[T]trait Terminal[T]trait Constant[T]trait Flagobject FlagRead.typetrait ShortNamed[T]class LeftoverRead[T]trait Simple[T]object BooleanRead.typeobject ByteRead.typeobject DoubleRead.typeobject FloatRead.typeobject IntRead.typeobject LongRead.typeclass OptionRead[T]object ShortRead.typeobject StringRead.typeShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TokensReader.type
Attributes
- Supertypes
-
trait ClassfileAnnotationtrait ConstantAnnotationtrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait ClassfileAnnotationtrait ConstantAnnotationtrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all