Platform
CLI reference

ccp store

View as Markdown

Manage object file storage

Usage: ccp store [OPTIONS] <COMMAND>

Aliases: storage.

ArgumentType or valuesDefaultParser environment variableDescription
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

ccp store list-stores

List stores in the organization

Usage: ccp store list-stores [OPTIONS]
ArgumentType or valuesDefaultParser environment variableDescription
--jsonflagfalse—Emit store IDs and names as JSON
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

ccp store create

Create a new store

Usage: ccp store create [OPTIONS] <NAME>
ArgumentType or valuesDefaultParser environment variableDescription
nametext——Name for the store
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

ccp store list

List uploaded files

Usage: ccp store list [OPTIONS]

Aliases: ls.

ArgumentType or valuesDefaultParser environment variableDescription
--mutableflagfalse—Show only mutable (legacy /edge/static) files
--mediaflagfalse—Show only media (content-addressed) files
--all, -aflagfalse—Bypass the project's pinned store and pick from all stores
--jsonflagfalse—Emit JSON: full filenames, exact sizes, complete URLs, no styling
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

ccp store put

Upload files to Cluster storage

Usage: ccp store put [OPTIONS] <FILES>...

Aliases: upload.

ArgumentType or valuesDefaultParser environment variableDescription
filespath——Files to upload
--mutableflagfalse—Upload to legacy /edge/static (Cache-Control: no-store, bypasses CDN)
--all, -aflagfalse—Bypass the project's pinned store and pick from all stores
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

ccp store get

Download a file from Cluster storage

Usage: ccp store get [OPTIONS] <FILENAME>
ArgumentType or valuesDefaultParser environment variableDescription
filenametext——Filename to download
--output, -opath——Output path (defaults to current directory)
--mutableflagfalse—Download from legacy /edge/static instead of media
--all, -aflagfalse—Bypass the project's pinned store and pick from all stores
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

ccp store delete

Remove an uploaded file

Usage: ccp store delete [OPTIONS] <FILENAME>

Aliases: rm.

ArgumentType or valuesDefaultParser environment variableDescription
--yes, -yflagfalse—Confirm this destructive operation
filenametext——Filename to remove
--mutableflagfalse—Remove from legacy /edge/static instead of media
--all, -aflagfalse—Bypass the project's pinned store and pick from all stores
--org-idtext——Select a storage organization for this invocation
--help, -hflag——Print help

Example

ccp store list-stores --org-id "$ORG_ID" --json

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