Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jprichardson/cross-zip-cli
Zip/Unzip directories cross platform from the CLI. Great for npm scripts.
https://github.com/jprichardson/cross-zip-cli
Last synced: 13 days ago
JSON representation
Zip/Unzip directories cross platform from the CLI. Great for npm scripts.
- Host: GitHub
- URL: https://github.com/jprichardson/cross-zip-cli
- Owner: jprichardson
- License: mit
- Created: 2016-06-06T13:13:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T23:13:40.000Z (almost 6 years ago)
- Last Synced: 2024-10-12T18:08:58.786Z (28 days ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 26
- Watchers: 4
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
cross-zip-cli
=============[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]
![windows Build status][windows-build-status]
[![standard][standard-image]][standard-url][npm-image]: https://img.shields.io/npm/v/cross-zip-cli.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/cross-zip-cli
[travis-image]: https://img.shields.io/travis/jprichardson/cross-zip-cli.svg?style=flat-square
[travis-url]: https://travis-ci.org/jprichardson/cross-zip-cli
[windows-build-status]: https://img.shields.io/appveyor/ci/jprichardson/cross-zip-cli/master.svg?label=windows%20build
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: http://npm.im/standardZip/Unzip directories cross platform from the CLI. Great for npm scripts. Built on [cross-zip][cross-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.zipOptions:
--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
- [cross-zip][cross-zip]: npm module this is built on.## License
[MIT](LICENSE.md)
[cross-zip]: https://github.com/feross/cross-zip