Sonde
v1.1.0
Embeddable Model Context Protocol server for Qt applications
Toggle main menu visibility
Loading...
Searching...
No Matches
completion.h
Go to the documentation of this file.
1
#pragma once
2
6
7
#include "
client.h
"
8
9
#include <QtCore/QString>
10
#include <QtCore/QStringList>
11
12
#include <optional>
13
14
namespace
Sonde::Cli {
15
17
std::optional<QString>
completionScript
(
const
QString &shell);
18
20
void
completionCommand
(
const
QStringList &args);
21
25
void
completeCommand
(
const
Options
&options,
const
QStringList &args);
26
27
}
// namespace Sonde::Cli
client.h
Calling tools from the command line over HTTP: sonde tools, describe, call (and sonde TOOL) and sessi...
Sonde::Cli::completeCommand
void completeCommand(const Options &options, const QStringList &args)
sonde __complete tools|templates [--user]|containers: prints the candidates one per line.
Definition
completion.cpp:368
Sonde::Cli::completionScript
std::optional< QString > completionScript(const QString &shell)
The completion script for shell ("bash" or "zsh"), or nothing for another shell.
Definition
completion.cpp:344
Sonde::Cli::completionCommand
void completionCommand(const QStringList &args)
sonde completion bash|zsh: prints the script.
Definition
completion.cpp:353
Sonde::Cli::Options
The options given before the command.
Definition
client.h:19
tools
cli
completion.h
Generated by
1.18.0