CLI Reference
cli
prich: CLI for reusable rich LLM prompts with script pipelines.
Usage:
cli [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
cli config
Manage prich configuration.
Usage:
cli config [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
cli config edit
Edit config using the default editor.
Usage:
cli config edit [OPTIONS]
Options:
-g, --global Only global config
-l, --local Only local config
--help Show this message and exit.
cli config providers
Show available LLM providers.
Usage:
cli config providers [OPTIONS]
Options:
-g, --global Only global config providers
-l, --local Only local config providers
-d, --details Show full provider details
--help Show this message and exit.
cli config show
Show config.
Usage:
cli config show [OPTIONS]
Options:
-g, --global Only global config
-l, --local Only local config
--help Show this message and exit.
cli create
Create new Template based on basic example template.
Usage:
cli create [OPTIONS] TEMPLATE_ID
Options:
-g, --global Create global template
-e, --edit Open created template yaml file in editor
--help Show this message and exit.
cli init
Initialize prich configuration and default venv.
Usage:
cli init [OPTIONS]
Options:
-g, --global Initialize ~/.prich/ (global)
--force Overwrite existing config
--help Show this message and exit.
cli install
Install a template from PATH, zip, or prich-templates.
Usage:
cli install [OPTIONS] PATH
Options:
--force Overwrite existing templates
--no-venv Skip venv setup
-g, --global Install to ~/.prich/templates
-r, --remote Install template from prich-templates GitHub repo or zip URL
--help Show this message and exit.
cli list
List templates.
Usage:
cli list [OPTIONS]
Options:
-g, --global List only global templates
-l, --local List only local templates
-t, --tag TEXT Tag to include (ex. '-t code -t review')
-r, --remote List remote templates available for installation
-j, --json Output in json format
--help Show this message and exit.
cli run
Run a template with dynamic arguments. Specify your template_id in the COMMAND. When templates are present you will see them in the Commands list.
Usage:
cli run [OPTIONS] COMMAND [ARGS]...
Options:
-g, --global Only global config and templates
-l, --local Only local config and templates
--help Show this message and exit.
cli show
Show available options for a template.
Usage:
cli show [OPTIONS] TEMPLATE_ID
Options:
-g, --global Only global config
--help Show this message and exit.
cli tags
List available tags from templates.
Usage:
cli tags [OPTIONS]
Options:
-g, --global List only global templates
-l, --local List only local templates
--help Show this message and exit.
cli validate
Validate Templates by checking yaml template schema
Usage:
cli validate [OPTIONS]
Options:
--id TEXT Template ID to validate
--file PATH Template YAML file to validate
-g, --global Validate only global templates
-l, --local Validate only local templates
--help Show this message and exit.
cli venv-install
Install venv for Template with python script steps
Usage:
cli venv-install [OPTIONS] TEMPLATE_ID
Options:
-g, --global Only global config
-f, --force Re-install venv
--help Show this message and exit.