Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

runnerty/executor-filesystem

Open more actions menu

Repository files navigation

Smart Processes Management

NPM version Downloads code style: prettier

Filesystem executor for Runnerty:

Installation:

Through NPM

npm i @runnerty/executor-filesystem

You can also add modules to your project with runnerty-cli

npx runnerty-cli add @runnerty/executor-filesystem

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-filesystem

Configuration sample:

Add in config.json:

{
  "id": "filesystem_default",
  "type": "@runnerty-executor-filesystem"
}

Plan sample:

Add in plan.json:

{
  "id": "filesystem_default",
  "path": "/etc/runnerty/*.log",
  "operation": "stat"
}
{
  "id": "filesystem_default",
  "path": ["/etc/runnerty/*.log", "/etc/runnerty/*.zip"],
  "operation": "ls",
  "options": {
    "orderBy": { "attribute": ["size", "file"], "order": "desc" }
  }
}

Operations:

Operation Description Output
stat
ls
mkdir

Results output

  • PROCESS_EXEC_MSG_OUTPUT: Array files/directories stats.
  • PROCESS_EXEC_ERR_OUTPUT: Error output message.

About

Runnerty module: File system executor

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.