@runnerty/executor-decompress
v3.1.1
Published
Runnerty module: Decompress (tar, zip, rar, 7z, gz)
Downloads
10
Maintainers
Readme
Decompress executor for Runnerty:
Requires tar
, unzip
, gunzip
, 7z
and rar
CLI tools to be installed in the SO.
Installation:
Through NPM
npm i @runnerty/executor-decompress
You can also add modules to your project with runnerty-cli
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:
rty add @runnerty/executor-decompress
Configuration sample:
Add in config.json:
{
"id": "decompress_default",
"type": "@runnerty-executor-decompress"
}
Plan sample:
Add in plan.json:
{
"id": "decompress_default",
"compress_file": "./input.zip",
"decompress_dir": "./"
}
{
"id": "decompress_default",
"compress_file": "./input.7z",
"decompress_dir": "./"
}