Overview
shipd. Package: @shipdit/cli. Every command works non-interactively and supports --json.
Global flags
Precedence (highest wins): CLI flags → env (
SHIPD_*) → .shipd/config.json → ~/.config/shipd/.
Credentials: ~/.config/shipd/credentials.json (mode 0600). XDG: $XDG_CONFIG_HOME/shipd.
Auth
Login opens org → project → environment. That binding is the key’s environment.
Config as code
Push flags
Removes are archives. Definition changes need
flag.production.toggle. Default-only non-prod needs flag.state.update.
Snapshots
Lower-level
CI
--env. --org cannot switch organizations.
Exit codes
Guides: Define flags · CI.