This document contains the help content for the ricochet command-line program.
Command Overview:
ricochet↴ricochet login↴ricochet logout↴ricochet deploy↴ricochet delete↴ricochet config↴ricochet detect↴ricochet init↴ricochet app↴ricochet app toml↴ricochet app list↴ricochet app instances↴ricochet app stop↴ricochet app settings↴ricochet app settings update↴ricochet app deployment↴ricochet app deployment list↴ricochet app deployment get↴ricochet app env-vars↴ricochet app env-vars get↴ricochet app env-vars delete↴ricochet app env-vars set↴ricochet app env-vars replace↴ricochet task↴ricochet task list↴ricochet task toml↴ricochet task invoke↴ricochet task schedule↴ricochet task settings↴ricochet task settings update↴ricochet task deployment↴ricochet task deployment list↴ricochet task deployment get↴ricochet task env-vars↴ricochet task env-vars get↴ricochet task env-vars delete↴ricochet task env-vars set↴ricochet task env-vars replace↴ricochet server↴ricochet server list↴ricochet server add↴ricochet server remove↴ricochet server set-default↴ricochet user↴ricochet user credentials↴ricochet self↴ricochet self update↴
Ricochet CLI
Usage: ricochet [OPTIONS] [COMMAND]
login— Authenticate with a Ricochet serverlogout— Remove stored credentialsdeploy— Deploy content to a Ricochet serverdelete— Delete a content itemconfig— Show configurationdetect— Report deployable content in a directory without writing anythinginit— Initialize a new Ricochet deploymentapp— Manage deployed app itemstask— Manage deployed task itemsserver— Manage configured Ricochet serversuser— Manage the current user's accountself— Manage the ricochet CLI itself
-
-S,--server <SERVER>— Server URL (can also be set with RICOCHET_SERVER environment variable) -
-F,--format <FORMAT>— Output format.jsonandyamlwrite the payload to stdout and everything else to stderrDefault value:
tablePossible values:
table,json,yaml -
--debug— Enable debug output -
-V,--version— Print version
Authenticate with a Ricochet server
Usage: ricochet login [OPTIONS]
-k,--api-key <API_KEY>— API key (can also be provided interactively)--no-browser— Do not attempt to open a browser, designed for headless sessions
Remove stored credentials
Usage: ricochet logout
Deploy content to a Ricochet server
Usage: ricochet deploy [OPTIONS] [PATH]
-
<PATH>— Path to the content directory or bundleDefault value:
.
-n,--name <NAME>— Name for the deployment-d,--description <DESCRIPTION>— Description for the deployment-e,--env <KEY[=VALUE]>— Set an environment variable on the initial deployment.KEY=VALUEsets it directly;KEYalone resolves the value from .env, .Renviron, or the calling environment. Repeatable--dry-run— List the files in a deployment bundle without deploying--git <GIT>— Deploy from a Git repository instead of a local bundle--branch <BRANCH>— Git branch to deploy (only with --git)--path <REPO_PATH>— Subdirectory within the Git repo containing _ricochet.toml (only with --git)--config <CONFIG_PATH>— Path to a local _ricochet.toml to use instead of the one in the repo (only with --git)--credential <CREDENTIAL>— Git credential ID to use for private repos (only with --git)
Delete a content item
Usage: ricochet delete [OPTIONS] <ID>
<ID>— Content item ID (ULID)
-f,--force— Skip confirmation
Show configuration
Usage: ricochet config [OPTIONS]
-A,--show-all— Show full configuration including sensitive values
Report deployable content in a directory without writing anything
Usage: ricochet detect [PATH]
-
<PATH>— Directory to inspect (defaults to current directory)Default value:
.
Initialize a new Ricochet deployment
Usage: ricochet init [OPTIONS] [PATH]
-
<PATH>— Directory to initialize (defaults to current directory)Default value:
.
--overwrite— Overwrite existing _ricochet.toml file without confirmation--dry-run— Preview the _ricochet.toml without saving to file
Manage deployed app items
Usage: ricochet app <COMMAND>
toml— Fetch the remote _ricochet.toml for an itemlist— List deployed app content itemsinstances— List running instancesstop— Stop a running instance, or all instances if no instance ID is givensettings— Show the diff between the local _ricochet.toml and the deployed item. Use theupdatesubcommand to apply itdeployment— Manage deployments for an appenv-vars— Manage environment variables for an app
Fetch the remote _ricochet.toml for an item
Usage: ricochet app toml [OPTIONS] [ID]
<ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml
-p,--path <PATH>— Path to _ricochet.toml file
List deployed app content items
Usage: ricochet app list [OPTIONS]
-t,--content-type <CONTENT_TYPE>— Filter by content type-a,--active-only— Show only active deployments (status: deployed, running, or success)--all— List every item on the instance (requires "Administrator" role)-s,--sort <SORT>— Sort by field(s) - comma-separated for multiple (e.g., "name,updated" or "status,name") Prefix with '-' for descending order (e.g., "-updated,name")
List running instances
Usage: ricochet app instances [OPTIONS] [ID]
<ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml
-p,--path <PATH>— Path to _ricochet.toml file
Stop a running instance, or all instances if no instance ID is given
Usage: ricochet app stop [OPTIONS] [ID] [PID]
<ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml<PID>— Instance ID to stop. If not provided, stops all instances
-p,--path <PATH>— Path to _ricochet.toml file
Show the diff between the local _ricochet.toml and the deployed item. Use the update subcommand to apply it
Usage: ricochet app settings [OPTIONS] [COMMAND]
update— Apply local _ricochet.toml settings to the server
-p,--path <PATH>— Path to _ricochet.toml file
Apply local _ricochet.toml settings to the server
Usage: ricochet app settings update [OPTIONS]
-p,--path <PATH>— Path to _ricochet.toml file-f,--force— Skip the confirmation prompt
Manage deployments for an app
Usage: ricochet app deployment <COMMAND>
list— List deployments for a content itemget— Get a specific deployment
List deployments for a content item
Usage: ricochet app deployment list [OPTIONS] <ID>
<ID>— Content item ID (ULID)
--fields <FIELDS>— Fields to display: 'all' or comma-separated names (id, status, deployed_at, deployed_by, content_id, requested_ver, matched_ver, git_hash)
Get a specific deployment
Usage: ricochet app deployment get <ID>
<ID>— Deployment ID (ULID)
Manage environment variables for an app
Usage: ricochet app env-vars <COMMAND>
get— List the names of an item's environment variablesdelete— Delete an environment variable by nameset— Set (upsert) environment variables, leaving others untouchedreplace— Replace all environment variables (any not listed are deleted)
List the names of an item's environment variables
Usage: ricochet app env-vars get [OPTIONS] [ID]
<ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml
-p,--path <PATH>— Path to _ricochet.toml file
Delete an environment variable by name
Usage: ricochet app env-vars delete [OPTIONS] <NAME>
<NAME>— Environment variable name
-i,--id <ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml-p,--path <PATH>— Path to _ricochet.toml file-f,--force— Skip confirmation
Set (upsert) environment variables, leaving others untouched
Usage: ricochet app env-vars set [OPTIONS] <KEY[=VALUE]>...
<KEY[=VALUE]>— Variables to set.KEY=VALUEsets it directly.KEYalone resolves the value from .env, .Renviron, or the calling environment
-i,--id <ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml-p,--path <PATH>— Path to _ricochet.toml file
Replace all environment variables (any not listed are deleted)
Usage: ricochet app env-vars replace [OPTIONS] [KEY[=VALUE]]...
<KEY[=VALUE]>— Variables to set.KEY=VALUEsets it directly.KEYalone resolves the value from .env, .Renviron, or the calling environment. Omit entirely to delete all environment variables
-i,--id <ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml-p,--path <PATH>— Path to _ricochet.toml file-f,--force— Skip confirmation
Manage deployed task items
Usage: ricochet task <COMMAND>
list— List deployed task content itemstoml— Fetch the remote _ricochet.toml for a taskinvoke— Invoke a taskschedule— Set or update the schedule for a tasksettings— Show the diff between the local _ricochet.toml and the deployed item. Use theupdatesubcommand to apply itdeployment— Manage deployments for a taskenv-vars— Manage environment variables for a task
List deployed task content items
Usage: ricochet task list [OPTIONS]
-t,--content-type <CONTENT_TYPE>— Filter by content type-a,--active-only— Show only active deployments (status: deployed, running, or success)--all— List every item on the instance (requires "Administrator" role)-s,--sort <SORT>— Sort by field(s) - comma-separated for multiple (e.g., "name,updated" or "status,name") Prefix with '-' for descending order (e.g., "-updated,name")
Fetch the remote _ricochet.toml for a task
Usage: ricochet task toml [OPTIONS] [ID]
<ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml
-p,--path <PATH>— Path to _ricochet.toml file
Invoke a task
Usage: ricochet task invoke <ID>
<ID>— Content item ID (ULID)
Set or update the schedule for a task
Usage: ricochet task schedule <ID> <SCHEDULE>
<ID>— Content item ID (ULID)<SCHEDULE>— Cron expression (e.g. "0 9 * * 1-5" for weekdays at 9am)
Show the diff between the local _ricochet.toml and the deployed item. Use the update subcommand to apply it
Usage: ricochet task settings [OPTIONS] [COMMAND]
update— Apply local _ricochet.toml settings to the server
-p,--path <PATH>— Path to _ricochet.toml file
Apply local _ricochet.toml settings to the server
Usage: ricochet task settings update [OPTIONS]
-p,--path <PATH>— Path to _ricochet.toml file-f,--force— Skip the confirmation prompt
Manage deployments for a task
Usage: ricochet task deployment <COMMAND>
list— List deployments for a content itemget— Get a specific deployment
List deployments for a content item
Usage: ricochet task deployment list [OPTIONS] <ID>
<ID>— Content item ID (ULID)
--fields <FIELDS>— Fields to display: 'all' or comma-separated names (id, status, deployed_at, deployed_by, content_id, requested_ver, matched_ver, git_hash)
Get a specific deployment
Usage: ricochet task deployment get <ID>
<ID>— Deployment ID (ULID)
Manage environment variables for a task
Usage: ricochet task env-vars <COMMAND>
get— List the names of an item's environment variablesdelete— Delete an environment variable by nameset— Set (upsert) environment variables, leaving others untouchedreplace— Replace all environment variables (any not listed are deleted)
List the names of an item's environment variables
Usage: ricochet task env-vars get [OPTIONS] [ID]
<ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml
-p,--path <PATH>— Path to _ricochet.toml file
Delete an environment variable by name
Usage: ricochet task env-vars delete [OPTIONS] <NAME>
<NAME>— Environment variable name
-i,--id <ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml-p,--path <PATH>— Path to _ricochet.toml file-f,--force— Skip confirmation
Set (upsert) environment variables, leaving others untouched
Usage: ricochet task env-vars set [OPTIONS] <KEY[=VALUE]>...
<KEY[=VALUE]>— Variables to set.KEY=VALUEsets it directly.KEYalone resolves the value from .env, .Renviron, or the calling environment
-i,--id <ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml-p,--path <PATH>— Path to _ricochet.toml file
Replace all environment variables (any not listed are deleted)
Usage: ricochet task env-vars replace [OPTIONS] [KEY[=VALUE]]...
<KEY[=VALUE]>— Variables to set.KEY=VALUEsets it directly.KEYalone resolves the value from .env, .Renviron, or the calling environment. Omit entirely to delete all environment variables
-i,--id <ID>— Content item ID (ULID). If not provided, will read from local _ricochet.toml-p,--path <PATH>— Path to _ricochet.toml file-f,--force— Skip confirmation
Manage configured Ricochet servers
Usage: ricochet server <COMMAND>
list— List all configured serversadd— Add a new serverremove— Remove a serverset-default— Set the default server
List all configured servers
Usage: ricochet server list
Add a new server
Usage: ricochet server add [OPTIONS] <NAME> <URL>
<NAME>— Server name (e.g., 'production', 'staging', 'local')<URL>— Server URL (must include http:// or https://)
--default— Set this server as the default
Remove a server
Usage: ricochet server remove [OPTIONS] <NAME>
<NAME>— Server name to remove
-f,--force— Skip confirmation prompt
Set the default server
Usage: ricochet server set-default <NAME>
<NAME>— Server name to set as default
Manage the current user's account
Usage: ricochet user <COMMAND>
credentials— List Git credentials
List Git credentials
Usage: ricochet user credentials [OPTIONS]
-
--user-id <USER_ID>— Filter by user ID (admins only) -
--type <TYPE>— Filter by credential typePossible values:
ssh,https
Manage the ricochet CLI itself
Usage: ricochet self <COMMAND>
update— Update the ricochet CLI to the latest version
Update the ricochet CLI to the latest version
Usage: ricochet self update [OPTIONS]
-f,--force— Force reinstall even if already on the latest version--dry-run— Check for a newer version and report it without updating
This document was generated automatically by
clap-markdown.