Defines the abstract CLI interface for Lake.
Types #
Utilities #
Get the remaining argument list.
Equations
Instances For
Replace the argument list.
Equations
Instances For
Take the head of the remaining argument list (or none if empty).
Equations
Instances For
Take the head of the remaining argument list (or default if none).
Equations
Instances For
Take the remaining argument list, leaving only an empty list.
Equations
Instances For
Add a string to the head of the remaining argument list.
Equations
Instances For
Process a short option of the form -x=arg.
Equations
Instances For
Process a short option of the form "-x arg".
Equations
Instances For
Process a short option of the form -xarg.
Equations
Instances For
Splits a long option of the form "--long foo bar" into --long and "foo bar".
Equations
Instances For
Splits a long option of the form --long=arg into --long and arg.
Equations
Instances For
Process a long option of the form --long, --long=arg, "--long arg".
Equations
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.
Equations
Instances For
Process the head argument of the list using handle if it is an option.
Equations
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.