Crate xflag

Source
Expand description

xflag is a minimal and opinionated command-line flag parsing library for Rust, following in the tradition of the X toolkit.

Structs§

Arguments
A sequence of arguments.
ParseError

Enums§

Argument
The type of argument encountered.
ErrorKind

Functions§

parse
Parse flags from a type that can be turned into an iterator, for example a Vec, and return a sequence of arguments.

Type Aliases§

FlagResult