hex-local

command module
v0.0.0-...-dbc86b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2018 License: MIT Imports: 5 Imported by: 0

README

Hex Plugin - Local

Plugin to run commands locally.

{
  "rule": "local rule example",
  "match": "disk space",
  "actions": [
    {
      "type": "hex-local",
      "command": "df -h",
      "config": {
        "env": "MY_PATH=/tmp; MY_VAR=xyz",
        "dir": "/tmp"
      }
    }
  ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL