pub enum VisdomCommand {
Doctor {
fix: bool,
json: bool,
yes: bool,
agent: Option<Agent>,
mode: Option<TracingMode>,
},
GatewayKey {
console: String,
project: String,
},
Env {
agent: Option<Agent>,
},
Instructions {
agent: Option<Agent>,
mode: Option<TracingMode>,
},
Login(LoginArgs),
Logout,
Init {
args: InitArgs,
},
Trace {
command: Command,
},
}Variants§
Doctor
Check this project’s Visdom wiring without launching an agent. Exits with 1 when a check fails.
Fields
mode: Option<TracingMode>The tracing mode to check (see visdom --help).
GatewayKey
Print the developer’s AI Gateway key for a project: what a launched agent runs to get, and renew, its key.
Env
Print shell commands that send an agent started without visdom
through the AI Gateway: source <(visdom env). The key is not in the
output, only the command that gets it.
Instructions
Print what an agent started here with visdom is told about Visdom’s
tools: the tracing commands, the bazaar MCP server, the AI Gateway —
each only if this session has it. Prints nothing when it has none.
Fields
mode: Option<TracingMode>The tracing mode it is for (see visdom --help).
Login(LoginArgs)
Log in to Visdom
Logout
Log out from Visdom
Init
Set up this repository for Visdom: tracing, and the bazaar MCP server for the agent.
Trace
Tracing commands: status, check, repo, project, context and the rest.
Trait Implementations§
Source§impl FromArgMatches for VisdomCommand
impl FromArgMatches for VisdomCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for VisdomCommand
impl Subcommand for VisdomCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand