跳到主要内容

CLI v0 reference

The soyaos binary exposes the verbs below in v0. Each verb is stable within v0 — flags may be added, never removed.

Global flags

--config <path> Override config file (default: ~/.config/soyaos/config.yaml)
--log-level <level> trace | debug | info | warn | error (default: info)
--json Emit JSON-only on stdout (no progress UI)

soyaos version

Print version, commit, build date, and the SoyaPack-v0 schema version.

soyaos pack

Create, validate and run SoyaPack bundles locally.

SubcommandPurpose
pack initScaffold a new SoyaPack from a built-in template.
pack validateValidate soyapack.yaml against the v0 schema.
pack lintStricter checks (style, examples coverage).

soyaos run

soyaos run <pack-dir> --input <json|@file>

Runs a SoyaPack in a local Comet sandbox. Streams Scope events to stdout when --json is set, otherwise renders a compact progress UI.

soyaos serve

soyaos serve --role <comet|moon|planet>

Starts a long-lived node in the given role. Multiple --role flags are allowed — --role moon --role comet is the default for the Atelier edition.

soyaos auth

SubcommandPurpose
auth loginBrowser-based login to a Moon.
auth keys createMint a new API key.
auth keys listList API keys.
auth keys revoke <id>Revoke an API key.

soyaos join

Join an existing Moon as a Comet:

soyaos join --moon https://moon.example.com --token <invite>

Exit codes

CodeMeaning
0Success
1Generic error
2Validation error (manifest, input, etc.)
3Sandbox / capability violation
4Auth error
5Upstream / network error