General
Commands for the CLI itself: help, upgrades, shell completion, and agent context. Generated from @scalar/cli 2.10.0.
| Command | Description |
|---|---|
scalar readme |
Open documentation for the CLI |
scalar readme generate |
Self generate documentation for the cli |
scalar upgrade |
Upgrade current version of your cli |
scalar context |
Print every command, argument, and option as JSON for AI agents |
scalar completion |
Generate shell completion definitions |
readme
Open documentation for the CLI.
scalar readme [options] [command]
readme generate
Self generate documentation for the cli.
scalar readme generate [options]
Options
| Option | Description |
|---|---|
-o, --output [file] |
Path where the documentation file will be written. |
upgrade
Upgrade current version of your cli.
scalar upgrade [options]
context
Print every command, argument, and option as JSON for AI agents.
scalar context [options]
completion
Generate shell completion definitions.
scalar completion [options] <shell>
Arguments
| Argument | Description |
|---|---|
shell |
Required. Shell to configure. One of bash, zsh, fish. |