Expand description
Only argument parsing! Nothing more.
onlyargs
is an obsessively tiny argument parsing library. It provides a basic trait and helper
functions for parsing arguments from the environment.
Implement the OnlyArgs
trait on your own argument type and use any of the parser functions
to create your CLI. The trait can also be derived with the onlyargs_derive
crate if you are
OK with an opinionated parser and just want to reduce the amount of boilerplate in your code.
Modules§
Macros§
- Creates a generic
HELP
string forOnlyArgs
implementations. - Creates a generic
VERSION
string forOnlyArgs
implementations.
Enums§
- Argument parsing errors.
Traits§
- The primary argument parser trait.
Functions§
- Type constructor for argument parser.