Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Cli::ArgumentSpec Struct Reference

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.

Detailed Description

What a command accepts.

Member Data Documentation

◆ positionalOptional

bool Sonde::Cli::ArgumentSpec::positionalOptional = false

Whether it takes at most one positional argument.

(argparse's nargs="?") instead of any number.


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