# data-code-extension script zip

Create a compressed archive of a data code extension script package.

## Description

Create a .zip file of an initialized data code extension script package for deployment. The .zip file includes required files from the package directory and respects ` .gitignore  `patterns.

## Examples

Create an archive of a script package:

```sh
sf data-code-extension script zip --package-dir ./my-script-package/payload
```

## Flags

- `-p, --package-dir <PACKAGE-DIR>` (Required): Directory that contains the initialized package to archive.
- `-n, --network <NETWORK>` (Optional): Network setting for Jupyter notebook packages.
- `--flags-dir <FLAGS-DIR>` (Optional): Global flag that provides command flag values from files in a directory instead of passing them on the command line. Name each file in the directory after a supported flag of the command, without the ` --  ` prefix, and include the plain text value for that flag as its content. Omit required flags from the command line if they are satisfied through the directory.
