Runnerty module: Decompress (tar, zip, rar, 7z, gz)
npm install @runnerty/executor-decompressSmart Processes Management
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
Requires tar, unzip, gunzip, 7z and rar CLI tools to be installed in the SO.
Through NPM
``bash`
npm i @runnerty/executor-decompress
You can also add modules to your project with [runnerty-cli]
`bash`
npx runnerty-cli add @runnerty/executor-decompress
This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.
If you have installed [runnerty-cli] globally you can include the module with this command:
`bash`
rty add @runnerty/executor-decompress
Add in [config.json]:
`json`
{
"id": "decompress_default",
"type": "@runnerty-executor-decompress"
}
Add in [plan.json]:
`json`
{
"id": "decompress_default",
"compress_file": "./input.zip",
"decompress_dir": "./"
}
`json``
{
"id": "decompress_default",
"compress_file": "./input.7z",
"decompress_dir": "./"
}
[runnerty]: http://www.runnerty.io
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-decompress.svg
[npm-url]: https://www.npmjs.com/package/@runnerty/executor-decompress
[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-decompress.svg
[david-badge]: https://david-dm.org/runnerty/executor-decompress.svg
[david-badge-url]: https://david-dm.org/runnerty/executor-decompress
[config.json]: http://docs.runnerty.io/config/
[plan.json]: http://docs.runnerty.io/plan/
[runnerty-cli]: https://www.npmjs.com/package/runnerty-cli