Defines the abstract CLI interface for Lake.
Types #
Utilities #
Get the remaining argument list.
Instances For
Replace the argument list.
Instances For
Take the head of the remaining argument list (or none if empty).
Instances For
Take the head of the remaining argument list (or default if none).
Instances For
Take the remaining argument list, leaving only an empty list.
Instances For
Add a string to the head of the remaining argument list.
Instances For
Process a short option of the form -x=arg.
Instances For
Process a short option of the form "-x arg".
Instances For
Process a short option of the form -xarg.
Instances For
Splits a long option of the form "--long foo bar" into --long and "foo bar".
Instances For
Splits a long option of the form --long=arg into --long and arg.
Instances For
Process a long option of the form --long, --long=arg, "--long arg".
Instances For
Process an option, short or long, using the given handlers.
An option is an argument of length > 1 starting with a dash (-).
An option may consume additional elements of the argument list.
Instances For
Process the head argument of the list using handle if it is an option.
Instances For
Process the leading options of the remaining argument list. Consumes empty leading arguments in the argument list.
Process every option in the argument list.