|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
The catalogue of sonde's commands: the one description from which --help, each command's -h and parsing, the man pages and the shell completions all come (design 0036). More...
#include "arguments.h"#include <QtCore/QHash>#include <QtCore/QList>#include <QtCore/QString>#include <QtCore/QStringList>Go to the source code of this file.
Classes | |
| struct | Sonde::Cli::FormDoc |
| One line of --help for a command: how it is called, and what it does. More... | |
| struct | Sonde::Cli::CommandDoc |
| One of sonde's commands. More... | |
| struct | Sonde::Cli::GlobalOptionDoc |
| An option that comes before the command, such as –config. More... | |
| struct | Sonde::Cli::TopicDoc |
| A section of prose: in –help after the commands, and in the man page. More... | |
Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Enumerations | |
| enum class | Sonde::Cli::Completion { None , Path , Tool , Template , Container , Choices } |
| What a value or an argument completes to in the shell. More... | |
Functions | |
| const QList< CommandDoc > & | Sonde::Cli::commands () |
| The commands, in the order –help lists them. | |
| const CommandDoc * | Sonde::Cli::command (const QString &name) |
The command called name, or nullptr. | |
| const QList< GlobalOptionDoc > & | Sonde::Cli::globalOptions () |
| The options before the command. | |
| const QList< TopicDoc > & | Sonde::Cli::topics () |
| The prose sections, in order. | |
| const QList< std::pair< QString, QString > > & | Sonde::Cli::environment () |
| The environment variables sonde reads or sets: name and what it is for. | |
| const QList< std::pair< QString, QString > > & | Sonde::Cli::examples () |
| A few examples for the man page: the command line, and what it does. | |
| QString | Sonde::Cli::usageText () |
| What sonde --help prints. | |
The catalogue of sonde's commands: the one description from which --help, each command's -h and parsing, the man pages and the shell completions all come (design 0036).
|
strong |
What a value or an argument completes to in the shell.
| Enumerator | |
|---|---|
| None | Nothing. |
| Path | A file or directory. |
| Tool | A tool of the running application. |
| Template | A template or component in the libraries. |
| Container | A running container, auto, or a docker ps filter. |
| Choices | One of a fixed list (CommandDoc::choices). |