CLI reference
ccp visualize
Create and preview local interactive canvases
Usage: ccp visualize [OPTIONS] <COMMAND>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp visualize init
Create a local React canvas. Does not publish or log in
Usage: ccp visualize init [OPTIONS] --title <TITLE> <PATH>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| path | path | — | — | |
| --title | text | — | — | |
| --format | explainer, canvas, note | explainer | — | |
| --project | text | — | — | |
| --chat | text | — | — | |
| --no-install | flag | false | — | Write source without installing dependencies |
| --help, -h | flag | — | — | Print help |
ccp visualize dev
Run a protected loopback preview; emits versioned JSON events
Usage: ccp visualize dev [OPTIONS] <PATH>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| path | path | — | — | |
| --help, -h | flag | — | — | Print help |
ccp visualize typecheck
Typecheck local source using the toolchain Node and installed TypeScript
Usage: ccp visualize typecheck [OPTIONS] <PATH>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| path | path | — | — | |
| --help, -h | flag | — | — | Print help |
ccp visualize content
Read editable content and its revision, or conditionally replace one part from stdin
Usage: ccp visualize content [OPTIONS] <PATH>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --json | flag | false | — | Emit the structured content result |
| path | path | — | — | |
| --part | diagram, note | — | — | |
| --revision | text | — | — | |
| --help, -h | flag | — | — | Print help |
ccp visualize inspect
Read validated Canvas metadata as JSON
Usage: ccp visualize inspect [OPTIONS] <PATH>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| path | path | — | — | |
| --json | flag | false | — | |
| --help, -h | flag | — | — | Print help |
Example
ccp visualize inspect ./canvasGlobal options
Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --context | text | — | — | Select a developer context from ~/.ccp/config.toml |