|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
What a command accepts. More...
#include <arguments.h>
Public Attributes | |
| QString | prog |
| The command, as usage names it: "sonde trust". | |
| QList< std::pair< QString, QString > > | flags |
| Each flag ("--all") and its help text. | |
| QString | positional |
| The name of its positional arguments ("names"), or empty for none. | |
| QList< ValueOption > | values |
| The options with a value, listed after the flags. | |
| bool | positionalOptional = false |
| Whether it takes at most one positional argument. | |
| QString | positionalHelp |
| The positional arguments' help text, or empty. | |
What a command accepts.
| bool Sonde::Cli::ArgumentSpec::positionalOptional = false |
Whether it takes at most one positional argument.
(argparse's nargs="?") instead of any number.