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

Functions

ArgumentSpec bare (const QString &command)
 A spec with nothing but its name: a command with no options.
void addRunCommands (QList< CommandDoc > &list)
 The commands that run the application, appended to list.
void addToolCommands (QList< CommandDoc > &list)
 The commands that connect a client and call tools, appended to list.
void addOtherCommands (QList< CommandDoc > &list)
 The other commands, appended to list.
QList< CommandDoc > buildCommands ()
 The catalogue's commands.
QString wrap (const QString &text, qsizetype width, qsizetype indent)
 text wrapped to width columns, each line after the first indented by indent spaces.

Variables

constexpr qsizetype kSummaryColumn = 38
 Where –help puts the summaries of the commands.
constexpr qsizetype kWidth = 94
 The width –help wraps the summaries to.