sbx kit pack
| Description | Package a directory as a kit artifact |
|---|---|
| Usage | sbx kit pack DIRECTORY [flags] |
Experimental
This command is experimental.
Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.
Description
Validate and package a kit artifact directory as a ZIP file.
The directory must contain a valid spec.yaml and an optional files/ directory.
Options
| Option | Default | Description |
|---|---|---|
-o, --output | Output file path; must end in .zip (default: <name>.zip) |
Global options
| Option | Default | Description |
|---|---|---|
--cloud | Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list) | |
-D, --debug | Enable debug logging |
Examples
sbx kit pack ./my-kit
# Choose the archive name
sbx kit pack ./my-kit --output dist/my-kit.zip