https://github.com/runnerty/executor-decompress
Runnerty module: Decompress executor
https://github.com/runnerty/executor-decompress
Last synced: over 1 year ago
JSON representation
Runnerty module: Decompress executor
- Host: GitHub
- URL: https://github.com/runnerty/executor-decompress
- Owner: runnerty
- License: mit
- Created: 2017-07-03T12:24:05.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T17:56:58.000Z (about 3 years ago)
- Last Synced: 2025-03-18T05:53:44.513Z (over 1 year ago)
- Language: JavaScript
- Size: 157 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Smart Processes Management
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
# Decompress executor for [Runnerty]:
Requires `tar`, `unzip`, `gunzip`, `7z` and `rar` CLI tools to be installed in the SO.
### Installation:
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
```
### Configuration sample:
Add in [config.json]:
```json
{
"id": "decompress_default",
"type": "@runnerty-executor-decompress"
}
```
### Plan sample:
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