Commando

Watch some files; Run a command


Keywords
library, mit, program, Propose Tags, System.Commando, , Index, Commando-1.0.0.4.tar.gz, browse, Package description, Package maintainers, LyndonMaydwell, edit package information
License
MIT
Install
cabal install Commando-1.0.0.4

Documentation

Commando

Watch a directory and run a command (with optional arguments).

Commando Command Watcher

Usage

commando [COMMAND] [-q|--quiet] [-c|--consumer] [-i|--stdin] [-p|--persist] [DIRECTORY]

Available options:
  -h,--help                Show this help text
  COMMAND                  Command run on events
  -q,--quiet               Hide non-essential output
  -c,--consumer            Pass events as argument to command
  -i,--stdin               Pipe events to command
  -p,--persist             Pipe events to persistent command
  DIRECTORY                Directory to monitor

Examples

Useful in conjunction with Conscript:

commando -c echo | grep --line-buffered Add  | conscript ls

Emit "event" everytime a file is changed in the current directory:

commando

Cabal

cabal install commando

Other Similar Software

Binaries