Catamorphism for Command data type.
Combine this command with a new set of flags, and return the the new command.
Combine this command with a new set of flags, and return the the new command. The operation to combine flags is associative.
Combine this command with a new flag, and return the the new command.
Combine this command with a new flag, and return the the new command. The operation to combine flags is associative.
Combine this command with a set of positional parameters, and return the new command.
Combine this command with a set of positional parameters, and return the new command. The operation to combine positional parameters is NOT associative. Parsing and generating a usage string is heavily dependent on the order in which positional parameters added to the command.
Combine this command with a new positional parameters, and return the new command.
Combine this command with a new positional parameters, and return the new command. The operation to combine positional parameters is NOT associative. Parsing and generating a usage string is heavily dependent on the order in which positional parameters added to the command.
The description of this command.
Higher order function to handle parse and dispatch.
Higher order function to handle parse and dispatch. This is a convenience only.
Higher order function to handle parse and dispatch.
Higher order function to handle parse and dispatch. This is a convenience only.
Higher order function to handle parse and dispatch.
Higher order function to handle parse and dispatch. This is a convenience only.
The name of this command.
Parse a list of arguments based on this command and apply the resultant function to the data object.
Create an argument parser for this command.
Create an argument parser for this command. This is for advanced
usage only. It is expected that the parse
method is sufficient
for most cases.
The usage string for this command using the default usage mode.
The usage string for this command using the default usage mode. Equivalent to usageForMode(DefaultUsageMode).
The usage string for this command using the specified usage mode.
Combine this command with the specified description and return the new description.
Combine this command with the specified description and return the new description. If a description is already set it shall be replaced.
Command data type. Represents a command name; a possible description; a set of flags; and positional parameters.
The data type includes combinators for building up more complex commands from a simple command name.