Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Cli::anonymous_namespace{completion.cpp} Namespace Reference

Functions

QStringList globalValueOptions ()
 The global options that take a value.
QList< const CommandDoc * > typedCommands ()
 The commands a user types (not –version, which is an option).
QStringList commandOptions (const CommandDoc &c)
 Every option of c, -h and –help included.
QString quoted (QString text)
 text inside single quotes, for a shell.
QString bashComplete (Completion kind, const CommandDoc *c)
 The bash code that completes kind into COMPREPLY, then returns.
QString bashScript ()
 The bash script.
QString zshComplete (Completion kind, const CommandDoc *c)
 The zsh code that completes kind, then returns.
QString shortSummary (const QString &text)
 text cut to a short description for zsh's menu.
QString zshScript ()
 The zsh script.
QStringList toolNames (const Options &options)
 The running application's tool names, or nothing.
QStringList templateNames (bool user)
 The template and component names in the project library, or the user's.
QStringList containerNames ()
 Running containers' names, and what else –docker takes.

Variables

constexpr int kCompletionTimeoutMs = 1000
 How long completion waits for the application or docker.