Skip to content
/ rt Public

run tasks interactively, no matter task runners

License

Notifications You must be signed in to change notification settings

unvalley/rt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rt is a CLI to run tasks interactively across different task runners. Inspired by antfu/ni.

demo

What it does

rt looks for files below, and provide a way to execute them selectively

  • make: Makefile
  • just: justfile / Justfile
  • task: Taskfile.yml / Taskfile.yaml ...
  • cargo-make: Makefile.toml
  • mise: mise.toml
  • mask: maskfile.md

rt is useful if you

  • don’t want to care whether a repo uses make, just, and others
  • want to select and run tasks with an interactive UI

Install

brew install unvalley/tap/rt
cargo install rt-cli
cargo binstall rt-cli

Planned: nix, homebrew(core, after requirements met), others

rt: run tasks selectively

rt

If a task runner is found, rt shows an interactive task selector:

> rt

? Select task
> build     - build main
  test-all  - test everything
  test      - run a specific test
[↑↓ to move, enter to select, type to filter]

rt <task>: run specific task

rt <task> [-- args...]

Why?

There are many task runners available, and different projects use different ones. And, I don't like shell script.

About

run tasks interactively, no matter task runners

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •