Skip to content

esamattis/rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rt – "run task"

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.

Install

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

Usage

In a project type rt and hit the tab key

About

Instant tab-complete for npm scripts and Jakefiles

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages