@runnerty/executor-decompress

Runnerty module: Decompress (tar, zip, rar, 7z, gz)

Usage no npm install needed!

<script type="module">
  import runnertyExecutorDecompress from 'https://cdn.skypack.dev/@runnerty/executor-decompress';
</script>

README

Smart Processes Management

NPM version Downloads Dependency Status code style: prettier

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": "./"
}