| Crates.io | kaeo |
| lib.rs | kaeo |
| version | 1.0.1 |
| created_at | 2025-12-14 19:52:17.196198+00 |
| updated_at | 2025-12-14 20:31:41.370459+00 |
| description | Keep an Eye on files and folder, run a command when one changes |
| homepage | |
| repository | https://github.com/MrDaves24/kaeo |
| max_upload_size | |
| id | 1985001 |
| size | 39,279 |
Keep an eye on a folder, folders, a file or files and run a command when anything changes.
Usage: kaeo [OPTIONS] <COMMAND> <PATH>...
Arguments:
<COMMAND> Command to run when a file or folder changes
Use {} to include the path in the command
Use % to include all specified paths as separate arguments
Use %% to include all specified paths as one argument
<PATH>... Paths to watch for changes
Options:
-r, --recursive Run command on the file that changed and not the parent (works with {} placeholder)
-h, --help Print help
-V, --version Print version
What command runs when src/main.rs changes ?
kaeo "du -hs" src/ Cargo.toml
du -hskaeo "du -hs {}" src/ Cargo.toml
du -hs src/kaeo -r "du -hs {}" src/ Cargo.toml
du -hs src/main.rskaeo "du -hs %" src/ Cargo.toml
du -hs src/ Cargo.tomlkaeo "du -hs %%" src/ Cargo.toml
du -hs "src/ Cargo.toml"No need to add quotes around the path ({}), the path is added as a unique argument, even if it contains spaces.