An argument parser that is familiar to the python's argparse.
- Does not allocate
- Positional arguments
- Both short (
-f
) and long (--field
) arguments - Store specific number of values, optionals (
?
), one-or-more (+
), or "anything" (*
) - Set default values
- Require an argument
const std = @import("std");
pub fn main() !void {
}
This parser will only find and group the correct strings in the given argv
.
- Cannot have "extend" feature
- You cannot change behaviour of
-h
and--help