Commando: Watch some files; Rerun a command
Commando comes in two forms - A library and an executable.
Executable
Watch a directory, and when changes occur, run a command.
From the commandline the program is used like so:
commando -c echo
This will watch the current directory, and when an event occurs, pass the serialized
representation of the event as an argument to echo
.
Library
To use the library just
import System.Commando
See the System.Commando module documentation for more details.
The Commando executable module is a good example of using Commando as a library.
Versions [faq] | 0.1.0.0, 1.0.0.0, 1.0.0.2, 1.0.0.4 |
---|---|
Dependencies | base (>=4.0 && <5.0), data-default (>=0.5 && <1.0), fsnotify (>=0.0.10 && <0.1), optparse-applicative (==0.5.*), process (==1.1.*), system-fileio (==0.3.*), system-filepath (==0.4.*), text (>=0.10 && <0.12) [details] |
License | MIT |
Author | Lyndon Maydwell |
Maintainer | lyndon@sordina.net |
Category | Development |
Home page | https://github.com/sordina/Commando |
Uploaded | by LyndonMaydwell at Thu Mar 6 04:05:15 UTC 2014 |
Distributions | NixOS:1.0.0.4 |
Executables | commando |
Downloads | 2130 total (34 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |
Downloads
- Commando-1.0.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)