@janpio/cross-zip-cli

0.0.4 • Public • Published

@janpio/cross-zip-cli

npm standard

Zip/Unzip directories cross platform from the CLI (without including the base directory). Great for npm scripts. Built on @tybys/cross-zip. Fork of cross-zip-cli

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-unzip [options] zipFile outputDir

    Unzips a file.

  Examples:

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

  Options:

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

Related

License

MIT

Package Sidebar

Install

npm i @janpio/cross-zip-cli

Weekly Downloads

51

Version

0.0.4

License

MIT

Unpacked Size

5.9 kB

Total Files

8

Last publish

Collaborators

  • janpio