Crates.io | runwhen |
lib.rs | runwhen |
version | 0.0.8 |
source | src |
created_at | 2017-01-30 00:55:49.984223 |
updated_at | 2023-08-17 23:07:35.576474 |
description | Runs a command on user specified triggers. |
homepage | |
repository | https://github.com/zaphar/runwhen |
max_upload_size | |
id | 8302 |
size | 1,415,752 |
Runs a command on user defined triggers.
USAGE:
runwhen [OPTIONS] --cmd <cmd> [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --cmd <cmd> Command to run on supplied triggers
-e, --env <env>... Command to run on supplied triggers
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
success Trigger that fires if a command runs successful.
timer Trigger that fires on a timer.
watch Trigger that fires when a file or directory changes.
I wanted a project to learn Rust on and this one scratches an itch I've had for a while. runwhen executes a command on a user specified trigger. There are other utilities out there that will execute on a timer or when a file changes but I haven't seen any that bundled all the types of triggers into one utility.