CLI
Commands
All available CLI commands
greet
Greet someone by name.
mycli greet Alice
# Hello, Alice!
mycli greet Alice --shout
# HELLO, ALICE!
mycli greet Bob --shout --times 3| Option | Short | Default | Description |
|---|---|---|---|
--shout | -s | false | Uppercase the greeting |
--times | -t | 1 | Repetition count |
config
Inspect and modify configuration.
mycli config show # view full config
mycli config get llm_config.cache_enabled # get a single value
mycli config set logging.verbose false # set an override| Subcommand | Description |
|---|---|
show | Display the full configuration |
get <key> | Get a single value by dot-separated key |
set <key> <value> | Write an override to .global_config.yaml |
doctor
Run health checks on the project environment.
mycli doctor # check everything
mycli doctor --fix # auto-fix what it canChecks Python version, uv installation, dependency sync, config validity, .env file, pre-commit hooks, and git status.
init
Scaffold a new command from a built-in template.
mycli init my_command --desc "Does something useful"
# Creates commands/my_command.py
# Run it: mycli my-command| Option | Description |
|---|---|
--desc | Description for the new command |
The name must be snake_case. Underscores are converted to hyphens for the CLI command name.
completions
Install shell tab-completions for faster usage.
mycli completions install bash # append to ~/.bashrc
mycli completions install zsh # append to ~/.zshrc
mycli completions install fish # append to config.fish
mycli completions show bash # print script to stdoutupdate
Check for a newer version and upgrade.
mycli updatetelemetry
Manage anonymous usage telemetry.
mycli telemetry status # show enabled/disabled
mycli telemetry disable # opt out
mycli telemetry enable # opt back inYou can also set CLI_TELEMETRY_DISABLED=1 to disable.