Skip to content

CLI Reference ​

The CLI exposes user tasks, not internal conversion stages. Most users need:

bash
jue init
jue apply --all
jue apply --adapter claude --scope user

Core commands ​

CommandPurposeDefault side effect
jue initCreate minimal project configWrite config
jue applyDiff and produce ArtifactsWrite changes
jue inspectExplain Presets, Capabilities, Adapters, and ArtifactsNone

apply performs validation, comparison, and writing:

  • preview: jue apply --dry-run
  • CI: jue apply --check
  • user installation: jue apply --adapter claude --scope user
  • diagnostics: jue inspect --diagnostics

Author commands ​

NamespaceSubcommands
jue capabilityupdate
jue presetPlanned: create, validate, pack
jue extensionvalidate

Resource queries use jue list [presets|prompts|skills|all] (list Preset, prompt, and skill inventories) and jue inspect --extension <id> (Extension diagnostics).

Global options ​

OptionMeaning
--lang (alias -l)Runtime language override (e.g. en, zh)
--verbose (alias -v)Log Adapter decisions and detailed output

Exit codes ​

CodeMeaning
0Success, or --check found no required change
1Config validation failure, internal error, or apply rollback
2Unsupported Artifact kind or scope
3Drift, ownership, or write conflict
4Required action not approved

See implementation status for gaps between this target contract and current code.

Define once. Adapt everywhere.