Skip to main content
POST
Publish a theme folder to the Console Library for the organization (--scope org) or one project. Requires --execute.

Body

application/json
dir
string
required

Theme folder holding theme.json (relative to your current directory)

execute
boolean

Confirm the publish (without it, print the plan and exit 3)

name
string

Display name (default: $extensions.ravi.name, else the slug)

note
string

Version note, at most 500 characters

scope
string

org, or a Console project slug (default: the known project)

slug
string

Library slug (default: the folder name)

Response

Success — body conforms to the @Returns schema.

contentHash
string
required
diagnostics
object[]
required
item
object
required
ref
string
required
success
boolean
required
unchanged
boolean
required
version
number
required