Expand description
§Sap - a Small Argument Parser
A minimal Unix command-line argument parser with zero dependencies.
§Features
- Parse short options (
-a
,-b
), long options (--verbose
), and option values - Combined short options (
-abc
=-a -b -c
) - Support for option values (
--name=value
) - Error handling with descriptive messages
Structs§
- Parser
- Parser for command-line arguments
Enums§
- Argument
- Represents a command-line argument
- Parsing
Error - Parsing error types with descriptive messages
Type Aliases§
- Result
- Result type specific to Sap, using
ParsingError
as the default error type