16 releases (breaking)
| 0.12.0 | Mar 3, 2026 |
|---|---|
| 0.10.0 | Mar 3, 2026 |
| 0.1.4 | Oct 4, 2023 |
#127 in Build Utils
12KB
303 lines
ke
Half make. Per-project command shortcuts stored in a single global file.
Setup
cd into your project and add commands:
ke --add build cargo build
ke --add test cargo test --all
This creates ~/.ke/commands.yaml automatically. Run with:
ke build
Commands are scoped to the folder they were added from — running ke in any other folder will error.
Global commands
Global commands work from any folder:
ke --add-global hi echo Hello
- global:
hi: echo Hello
Folder commands take priority over global ones if the same name exists in both.
Multiline commands
Edit ~/.ke/commands.yaml directly:
- folder: ~/dev/myproject
commands:
check: |
cargo clippy
cargo test
Edit config
ke --edit
Custom config
ke --config /path/to/commands.yaml build
Install
cargo install ke
Dependencies
~2.5–3.5MB
~71K SLoC