kapi pack
kapi pack -o <snapshot.kpz>Ta et øyeblikksbilde av et kapi-prosjekts arbeidstilstand — blokklagrets overlegg, den autoritative innhuldsminnet og termlageret — til en portabel .kpz. Regenerbare mellomlagre og hemmeligheter er utelatt. Flytt øyeblikksbildet til en annen maskin og kjør "kapi unpack" for å gjenoppta arbeidet der.
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi pack -o snapshot.kpz # a kapi projectFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --color | string | auto | colorize output: auto, always, never |
| --jq | string | filter JSON output through a jq expression (implies --json) | |
| --json | bool | false | Output in JSON format |
| --log | bool | false | stamp a tamper-evident provenance line into the snapshot's advisory history |
| --output , -o | string | output .kpz snapshot path | |
| --output-format | string | Output format: text (alias: table), json, yaml | |
| --project , -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --text | bool | false | Output in text format (default) |
| --with-source | bool | false | embed raw source bytes in the .kpz (default: identity + skeleton only) |
More examples
kapi pack work.kpz # eject a .kpz workspace's cache← Back to the Command Reference