cross-zip-cli

Zip directories cross platform from the CLI.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
cross-zip-cli
2241.0.07 years ago7 years agoMinified + gzip package size for cross-zip-cli in KB

Readme

cross-zip-cli
!npmnpm-imagenpm-url !travistravis-imagetravis-url windows Build status !standardstandard-imagestandard-url
Zip/Unzip directories cross platform from the CLI. Great for npm scripts. Built on cross-zipcross-zip.

Why?

This is really useful for zipping/unzipping in your npm scripts that should run on cross-platform.

Install

npm install -g cross-zip-cli

Usage

cross-zip

cross-zip [options] inputDir [zipFile]

  Zips a directory.

Examples:

  cross-zip /tmp/data
  cross-zip /tmp/data /tmp/data-reports.zip

Options:

  --help This message that you're viewing.
  --version The version.

cross-unzip

cross-zip [options] inputDir [zipFile]

  Zips a directory.

Examples:

  cross-zip /tmp/data
  cross-zip /tmp/data /tmp/data-reports.zip

Options:

  --help This message that you're viewing.
  --version The version.

Related

License

MIT