rt is a simple wrapper for JavaScript task runners with instant tab-completion for zsh. It supports npm scripts and Jake.js.
The only reason this exists because tab-completion for npm scripts and jakefiles is really slow. rt is written using Rust and SWC for jakefile parsing so it is basically instant. It also saves few key strokes!
But to be honest this project was just an excuse to learn Rust and SWC.
Get binary from the releases page and put it to PATH or build from the sources.
Enable tab-completion by putting this to ~/.zshrc
:
compdef 'eval "$(rt --zsh-complete)"' rt
In a project type rt
and hit the tab key