|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
| Ncli | |
| Nconversion | Actions that convert a raw std::string_view token to a typed value |
| CInteger | Converts a string token to an integral type T using std::from_chars |
| CFloating | Converts a string token to a floating-point type T using std::from_chars |
| CString | Converts a string_view token to a std::string by copying |
| CBool | Converts a string token to bool |
| CPath | Converts a string token to std::filesystem::path without filesystem validation |
| CExistingFile | Converts a string token to std::filesystem::path, requiring the path to exist and be a regular file |
| CExistingDirectory | Converts a string token to std::filesystem::path, requiring the path to exist and be a directory |
| CChoice | Converts a string token to type T via a user-supplied mapper function |
| CNegatableResult | Result of the negatable<> conversion |
| CNegatable | Converts a string token to NegatableResult by detecting a compile-time negation prefix |
| CDefaultMissingValue | Injects a compile-time default value when an option is invoked as a flag (no value provided) |
| Nvalidation | Actions that validate a typed value after conversion |
| CMin | Validates that the input value is greater than or equal to MinValue |
| CMax | Validates that the input value is less than or equal to MaxValue |
| CRange | Validates that the input value is within the closed interval [MinValue, MaxValue] |
| CPositive | Validates that the input value is strictly positive (> 0) |
| CNonNegative | Validates that the input value is non-negative (>= 0) |
| CNonEmpty | Validates that the input value is not empty (requires .empty() member) |
| CNotBlank | Validates that the input string is not blank (not all whitespace) |
| COneOf | Validates that the input value equals one of the compile-time constants Allowed |
| CMatches | Validates that the input string matches a compile-time regular expression |
| CExists | Validates that a std::filesystem::path exists on the filesystem |
| CIsRegularFile | Validates that a std::filesystem::path refers to a regular file |
| CIsDirectory | Validates that a std::filesystem::path refers to a directory |
| CParentExists | Validates that the parent directory of a std::filesystem::path exists |
| CPredicate | Validates a value using a user-supplied compile-time predicate |
| Npack | Terminal actions that write the converted (and validated) value into argument storage |
| CSetTrue | Sets the bool storage to true |
| CSetFalse | Sets the bool storage to false |
| CToggle | Flips the bool storage each time the option is seen |
| CIncrement | Increments a std::size_t counter each time the option is seen |
| CRejectDuplicate | Passes the value through unchanged, but returns ErrorCode::duplicate_argument if the option has been seen more than once |
| CSetOnce | Stores the input value and rejects subsequent occurrences |
| CPushUnique | Appends the value to a std::vector<T>, rejecting duplicate values |
| CPush | Appends the value to a std::vector<T> |
| CInsert | Inserts the value into a std::set<T> (duplicates are silently ignored by the set) |
| CInsertOrAssign | |
| CStorageTypeImpl | |
| CStorageTypeImpl< Prev, true > | |
| CExtend | |
| CMarkPresent | Sets a bool flag to true when the option is seen, regardless of value |
| CStoreInto | Writes the value directly into an external variable via a T* pointer |
| CCallback | Invokes a compile-time callable Fn with the parsed value as a terminal action |
| Naction | Actions that control the parser's control flow (help, exit) |
| CCustom | Wraps a user-defined callable as a non-terminal action pipeline step |
| CPrintHelp | Wraps the current value in a HelpRequested<T> sentinel type |
| CExitSuccess | Terminates the pipeline by returning a ParseError with code exit_success (or help_requested when preceded by PrintHelp) |
| CActionResult | The result type produced and consumed at each step of an action pipeline |
| CActionResult< void > | Specialisation of ActionResult for terminal (pack) actions that produce no value |
| CActionCtx | Context passed to each action function during pipeline execution |
| CActionCtx< void > | Partial specialisation of ActionCtx used for intermediate pipeline steps |
| CAction | A compile-time pipeline of action functions applied sequentially to a parsed token |
| CAction<> | |
| CParser | The main parsing engine for a typed argument specification |
| CArgParameter | Parameter bag used when constructing ArgImpl or PositionalImpl with named fields |
| CPositionalImpl | |
| CDescription | A DescriptionTag field that carries the top-level CLI description |
| CCommandParameter | Parameter bag used when constructing a Command field |
| CCommand | A named subcommand that nests another argument specification |
| CSpecMemberTag | Base tag for all members that may appear in an argument specification struct |
| COptionTag | Tag base class for command-line option/flag fields |
| CPositionalTag | Tag base class for positional argument fields |
| CCommandTag | Tag base class for subcommand fields |
| CDescriptionTag | Tag base class for the Description field that provides the CLI's help text |
| CNargs | Specifies the minimum and maximum number of values an option or positional accepts |
| CHelpPalette | ANSI palette used by generated help output |
| CRecurseHelpTag | Tag type passed to format_help() to request recursive sub-command output |
| CConstraintResult | The result type returned by a constraints() post-parse hook |
| CParseError | Carries all context about a single parse/validation failure |
| CToken | A single token produced by tokenize() |
| CTokenizeResult | The result returned by tokenize() |
| CSmallVector | |
| CTokenizerConfig | Controls how tokenize() recognises option and separator syntax |
| CParseResult | The result returned by Parser::parse() and the free cli::parse() function |
| CNameList | |
| CGroupParams | |
| CGroupRelation | |
| CConflictsRelation | |
| CDependsOnRelation | |
| CRelationSet | |
| CIsRelationSet | |
| CIsRelationSet< RelationSet< Relations... > > | |
| CStringLiteral | Compile-time string type usable as a non-type template parameter |
| Nstd | STL namespace |
| Ctuple_size< cli::conversion::NegatableResult > | |
| Ctuple_element< 0, cli::conversion::NegatableResult > | |
| Ctuple_element< 1, cli::conversion::NegatableResult > |