Create a compressed archive of the Data Code Extension %s package.
Creates a ZIP archive of an initialized Data Code Extension package for deployment. The archive includes all necessary files from the package directory while respecting .gitignore patterns and package requirements.
-
Create an archive of a %s package:
<%= config.bin %> data-code-extension %s zip --package-dir ./my-%s-package
Checking Python version...
Python %s found at '%s'
Checking required Python packages...
Package '%s' version %s found
Checking datacustomcode binary...
Datacustomcode binary version %s found
Creating package archive...
Archive created: %s
Files included: %s
Archive size: %s
Package archive created successfully!
Data Code Extension archive created successfully!
Package directory not found at '%s'
Failed to create Data Code Extension archive
- Verify the package directory path is correct
- Check that the directory exists
- Run 'init' command first to create a package
Directory containing the initialized package to archive.
The path to the directory containing an initialized Data Code Extension package. The directory must exist and contain a valid package structure with config.json.
Network configuration, typically used for Jupyter notebook packages.
Optional network configuration for packages that use Jupyter notebooks. Common values include 'host', 'bridge', or a custom network name. This flag is typically used when the package needs specific network access configurations.