@centaurisystems/cli
v0.2.2
Published
centauri — the Centauri company CLI (gcloud-style). Launchpad custom components: publish with one command, versioned per environment, rolled back in seconds.
Maintainers
Readme
@centaurisystems/cli
Install
npm install -g @centaurisystems/clicentauri — the Centauri company CLI (gcloud-style). Current command groups:
| Command | What it does |
| --- | --- |
| centauri auth login | Device-flow sign-in; key stored in the OS keychain (file fallback, 0600) |
| centauri auth list / auth revoke [name] | Inspect / remove stored credentials |
| centauri config set portal <tenant> / set env <env> / config list | Persistent context; --env overrides per invocation |
| centauri components init <name> | Scaffold component + manifest + example test |
| centauri components build | Locked build → dist/<name>.mjs + dist/launchpad.json |
| centauri components publish [--env] [--version] [--yes] | Publish with one command |
| centauri components promote <name> --from <env> --to <env> | Pointer flip, no re-upload |
| centauri components rollback <name> --env <env> --to <version> | Rolled back in seconds |
| centauri components list [--env] | Versioned per environment: pointers, versions, state |
| centauri components enable\|disable <name> --env <env> | Kill switch (one click in the admin console) |
Every mutating command prints what it did and to which environment. Direct
prod publishes ask: "Publishing directly to prod, bypassing promotion.
Continue?" (skip with --yes; requires components.publish_prod).
