Platform
CLI reference

ccp visualize

View as Markdown

Create and preview local interactive canvases

Usage: ccp visualize [OPTIONS] <COMMAND>
ArgumentType or valuesDefaultParser environment variableDescription
--help, -hflag——Print help

ccp visualize init

Create a local React canvas. Does not publish or log in

Usage: ccp visualize init [OPTIONS] --title <TITLE> <PATH>
ArgumentType or valuesDefaultParser environment variableDescription
pathpath——
--titletext——
--formatexplainer, canvas, noteexplainer—
--projecttext——
--chattext——
--no-installflagfalse—Write source without installing dependencies
--help, -hflag——Print help

ccp visualize dev

Run a protected loopback preview; emits versioned JSON events

Usage: ccp visualize dev [OPTIONS] <PATH>
ArgumentType or valuesDefaultParser environment variableDescription
pathpath——
--help, -hflag——Print help

ccp visualize typecheck

Typecheck local source using the toolchain Node and installed TypeScript

Usage: ccp visualize typecheck [OPTIONS] <PATH>
ArgumentType or valuesDefaultParser environment variableDescription
pathpath——
--help, -hflag——Print help

ccp visualize content

Read editable content and its revision, or conditionally replace one part from stdin

Usage: ccp visualize content [OPTIONS] <PATH>
ArgumentType or valuesDefaultParser environment variableDescription
--jsonflagfalse—Emit the structured content result
pathpath——
--partdiagram, note——
--revisiontext——
--help, -hflag——Print help

ccp visualize inspect

Read validated Canvas metadata as JSON

Usage: ccp visualize inspect [OPTIONS] <PATH>
ArgumentType or valuesDefaultParser environment variableDescription
pathpath——
--jsonflagfalse—
--help, -hflag——Print help

Example

ccp visualize inspect ./canvas

Global options

Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.

ArgumentType or valuesDefaultParser environment variableDescription
--contexttext——Select a developer context from ~/.ccp/config.toml

On this page