|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Shell completion for sonde and sonde-bridge (design 0036): the scripts, written from the command catalogue, and what they ask sonde for. More...
Go to the source code of this file.
Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Functions | |
| std::optional< QString > | Sonde::Cli::completionScript (const QString &shell) |
The completion script for shell ("bash" or "zsh"), or nothing for another shell. | |
| void | Sonde::Cli::completionCommand (const QStringList &args) |
| sonde completion bash|zsh: prints the script. | |
| void | Sonde::Cli::completeCommand (const Options &options, const QStringList &args) |
| sonde __complete tools|templates [--user]|containers: prints the candidates one per line. | |
Shell completion for sonde and sonde-bridge (design 0036): the scripts, written from the command catalogue, and what they ask sonde for.
| void Sonde::Cli::completeCommand | ( | const Options & | options, |
| const QStringList & | args ) |
sonde __complete tools|templates [--user]|containers: prints the candidates one per line.
Waits at most a second, and prints nothing, without an error, if they can't be found.