org.clapper

argot

package argot

Visibility
  1. Public
  2. All

Type Members

  1. class ArgotConversionException extends ArgotException

    Thrown to indicate that Argot could not convert a command line parameter to the desired type.

  2. class ArgotException extends Exception

    Base Argot exception class.

  3. class ArgotParser extends AnyRef

    ArgotParser is a command-line parser, with support for single-value and multi-value options, single-value and multi-value parameters, typed value, custom conversions (with suitable defaults), and extensibility.

  4. class ArgotSpecificationError extends ArgotException

    Thrown to indicate that Argot encountered a problem in the caller's argument specification.

  5. class ArgotUsageException extends ArgotException

    Thrown to indicate usage errors.

  6. trait CommandLineArgument [T] extends AnyRef

    Base trait for all option and parameter classes, CommandLineArgument contains comment methods and values.

  7. trait CommandLineOption [T] extends CommandLineArgument[T]

    CommandLineOption is the base trait for all option classes.

  8. class FlagOption [T] extends CommandLineOption[T]

    Class for a flag.

  9. trait HasValue [T] extends CommandLineArgument[T]

    The HasValue trait is mixed into option and parameter classes that support one or mor associated values of type T.

  10. trait MultiValueArg [T] extends HasValue[T]

    MultiValueArg is a refinement of the HasValue trait, specifically for arguments (options or parameters) that take multiple values of type T.

  11. class MultiValueOption [T] extends CommandLineOption[T] with MultiValueArg[T]

    Class for an option that takes a multiple values.

  12. class MultiValueParameter [T] extends Parameter[T] with MultiValueArg[T]

    Class for a non-option parameter that takes a multiple values.

  13. trait SingleValueArg [T] extends HasValue[T]

    SingleValueArg is a refinement of the HasValue trait, specifically for arguments (options or parameters) that take only a single value.

  14. class SingleValueOption [T] extends CommandLineOption[T] with SingleValueArg[T]

    Class for an option that takes a single value.

  15. class SingleValueParameter [T] extends Parameter[T] with SingleValueArg[T]

    Class for a non-option parameter that takes a single value.

Value Members

  1. object ArgotConverters extends AnyRef

    Conversion functions that can be used to satisfy the implicit conversions specified to the various specification functions in the ArgotParser class.

  2. object ArgotTest extends AnyRef