Skip to main content

Module cli

Module cli 

Source
Expand description

CLI definition — clap derive with subcommands.

Mirrors the Go cobra command tree: root (raw mode) + shortcuts + auth/media/webhook/version subcommands.

Re-exports§

pub use runner::run;
pub use runner::run_argv;
pub use runner::run_with_store_path;
pub use crate::output::OutputFormat;
pub use crate::skill_install::SkillHost;

Modules§

commands
Command execution — dispatches CLI commands to API functions.
exit_codes
Re-exports from the library’s error module for binary-internal use.
runner
Library CLI entrypoints — the canonical implementation lives in run_with_store_path; run and run_argv are layered wrappers.

Structs§

Cli
Auth-enabled curl-like interface for the X API.
CommonFlags
Common flags shared by shortcut commands.

Enums§

AppCommands
App management subcommands.
AuthCommands
Auth subcommands.
ColorChoice
Color output choice. Honored by OutputConfig together with NO_COLOR and TTY detection.
Commands
All subcommands.
MediaCommands
Media subcommands.
RedirectUriCommands
auth apps redirect-uri subcommands.
SkillCmd
skill subcommand variants.