ruff/ruff_cli
Martin Fischer dd79ec293a Rename new `explain` subcommand to `rule`
We probably want to introduce multiple explain subcommands and
overloading `explain` to explain it all seems like a bad idea.
We may want to introduce a subcommand to explain config options and
config options may end up having the same name as their rules, e.g. the
current `banned-api` is both a rule name (although not yet exposed to
the user) and a config option.

The idea is:

* `ruff rule` lists all rules supported by ruff
* `ruff rule <code>` explains a specific rule
* `ruff linter` lists all linters supported by ruff
* `ruff linter <name>` lists all rules/options supported by a specific linter

(After this commit only the 2nd case is implemented.)
2023-01-28 07:26:20 -05:00
..
src Rename new `explain` subcommand to `rule` 2023-01-28 07:26:20 -05:00
tests Use subcommands for CLI instead of incompatible boolean flags 2023-01-27 19:38:17 -05:00
Cargo.toml Bump version to 0.0.236 2023-01-26 18:47:00 -05:00