Roulette!

Fancy a game of Roulette?

Rules:

Inspired by (i.e. copied from) Andreas Kling's FIXME Roulette

Installation and Usage

console cargo install fixme-roulette

Once that is done, navigate to the root of your directory and run

console roulette

and you'll get something like this!

console Number of 'pockets': 13 README.md:8:- whatever TODO, FIXME, or type error you get, you must fix!

For more options,

```console $ roulette --help

Spin the wheel, get a task!

Usage: roulette [OPTIONS]

Options: -p, --path Path to directory (defaults to .). Note that clippy and git grep don't take a path, and require you to run roulette where you want the commands to be executed -c, --commands [...] Commands to run (any of gitgrep, ripgrep, grep, mypy, ruff, flake8) - defaults git grep and mypy -g, --grep-keywords [...] Optional keywords for grep: defaults to "TODO" and "FIXME" --supported Print supported commands --debug Print out failed commands (instead of silently ignoring, good for debugging) -h, --help Print help -V, --version Print version ```

Configuration files

Run roulette in the same directory as the configuration files, and the tools (e.g. mypy or ruff) should be able to find it.

Supported Commands

Soon-to-be Supported Commands

What else? Let me know.