rt-cli 0.1.6

rt is a CLI tools for running task files correctly.
rt-cli-0.1.6 is not a library.

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

cargo install rt-cli
cargo binstall rt-cli

Planned:

  • homebrew
  • nix

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.