CLI reference / release / catalog / adopt

stado release catalog adopt

Invocation

stado release catalog adopt [OPTIONS] --kind <KIND> <CHECKOUT>

Purpose

Add an application checkout to the release pipeline: write its release manifest and scripts from what its project states, declare its publisher, register it. Without --apply only the plan is printed

Required inputs and options

Input or optionContract
<CHECKOUT>The application checkout to add
--kind <KIND>What the checkout builds; it decides the scripts written Possible values: - ios-xcode: An iOS app built from the one `*.xcodeproj` at the checkout root - cargo: A Rust package whose root `Cargo.toml` declares the binaries it ships; its quality gate is `cargo fmt --all -- --check` - npm: An npm package whose `package.json` declares the files it publishes; the release is its source bundle
--product <PRODUCT>The product name; defaults to the checkout folder, refusing when its origin names another repository
--scheme <SCHEME>The Xcode scheme to archive; defaults to the project's name
--owner <OWNER>Registry host whose vault is authoritative; with --client, the publisher is declared as `catalog declare-publisher` declares it
--client <CLIENT>Registry host that runs `release submit`
--target <TARGETS>Further hosts that serve the release API; repeat for several
--reload <RELOADS>HOST=SERVICE whose process caches the publisher table; repeat
--applyWrite the files, declare the publisher and register the product
--jsonCommand option; required or optional as shown in the invocation.

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • The product name; defaults to the checkout folder, refusing when its origin names another repository
  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.