cli20 0.1.2
A C++20 typed-schema command-line parser
Loading...
Searching...
No Matches
cli::CommandParameter Struct Reference

Parameter bag used when constructing a Command field. More...

#include <argument.hh>

Public Attributes

std::string_view help {}
 Brief description shown in the parent command's help.
bool hidden {}
 Whether this command is omitted from generated help.
std::string_view deprecated {}
 Optional deprecation message shown in generated help.

Detailed Description

Parameter bag used when constructing a Command field.

Definition at line 392 of file argument.hh.

Member Data Documentation

◆ deprecated

std::string_view cli::CommandParameter::deprecated {}

Optional deprecation message shown in generated help.

Definition at line 397 of file argument.hh.

◆ help

std::string_view cli::CommandParameter::help {}

Brief description shown in the parent command's help.

Definition at line 394 of file argument.hh.

◆ hidden

bool cli::CommandParameter::hidden {}

Whether this command is omitted from generated help.

Definition at line 395 of file argument.hh.


The documentation for this struct was generated from the following file: