work
This commit is contained in:
25
docs/modules/cli/guides/commands/export.md
Normal file
25
docs/modules/cli/guides/commands/export.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# stella export — Command Guide
|
||||
|
||||
## Commands
|
||||
- `stella export mirror --bundle <path> --profile <name> [--offline]`
|
||||
- `stella export verify --bundle <path> --trust-roots <file>`
|
||||
- `stella export plan --output json` (preview bundle contents)
|
||||
|
||||
## Flags (common)
|
||||
- `--offline`: enforce no network; fail with exit code 5 if registry/object-store calls would occur.
|
||||
- `--profile`: named export profile (schema/manifest version); defaults to latest supported.
|
||||
- `--trust-roots`: PEM/TUF/DSSE trust roots for verification.
|
||||
- `--output`: json (default) or table for plan outputs.
|
||||
|
||||
## Inputs/outputs
|
||||
- Inputs: export profiles, mirror configuration, optional cached artefacts.
|
||||
- Outputs: deterministic bundle tarball + manifest (checksums, signatures, metadata); verify emits status + detailed reasons.
|
||||
- Exit codes follow `output-and-exit-codes.md`; verification failure uses exit code 3.
|
||||
|
||||
## Determinism rules
|
||||
- Manifest ordering is stable; checksums hex-lowercase; timestamps UTC.
|
||||
- No network-dependent mutation; offline bundles must be reproducible.
|
||||
|
||||
## Offline/air-gap notes
|
||||
- `--offline` must be honored; registry pulls are forbidden unless cached in profile path.
|
||||
- Verification uses only local trust roots; no remote key fetch.
|
||||
Reference in New Issue
Block a user