Skip to main content

stave status

Status inspects local project artifacts and prints a quick "where to continue"
summary plus one recommended next command.

Inputs:
--dir, -d Directory to inspect for Stave project context (default: .)
--format, -f Output format: text or json (default: text)

Outputs:
stdout Project status summary and next recommended command
stderr Error messages (if any)

Exit Codes:
0 - Status retrieved successfully
2 - Invalid input or configuration error
130 - Interrupted (SIGINT)

Examples:
stave status
cd ./stave-project && stave status
stave status --format json

Offline-only: reads local files; makes zero network connections; no cloud credentials.

Usage:
stave status [flags]

Examples:
stave status

Flags:
-d, --dir string Directory to inspect for Stave project context (default ".")
-f, --format string Output format: text or json (default "text")
-h, --help help for status

Global Flags:
--allow-symlink-output Allow writing output through symlinks (default: refuse)
--force Allow overwriting existing output files
--log-file string Write logs to file (default: stderr)
--log-format string Log format: text|json (default "text")
--log-level string Log level: debug|info|warn|error (overrides -v)
--log-timestamps Include timestamps in logs (breaks determinism)
--log-timings Include timing information (breaks determinism)
--no-color Disable ANSI colors in output
--path-mode string Path rendering in errors/logs: base (basename only) or full (absolute paths) Resolved default may come from STAVE_* env vars, stave.yaml, user config, or built-in.
--quiet Suppress output (exit code only) Resolved default may come from STAVE_* env vars, stave.yaml, user config, or built-in.
--require-offline Assert offline operation: fail if proxy env vars (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY) are set
--sanitize Sanitize infrastructure identifiers (bucket names, ARNs, policies) from output Resolved default may come from STAVE_* env vars, stave.yaml, user config, or built-in.
--strict Enable strict integrity checks for embedded registries and references
-v, --verbose count Increase verbosity (-v=INFO, -vv=DEBUG)
-y, --yes Auto-confirm all interactive prompts (distinct from --force which controls file overwriting)