-
-
Notifications
You must be signed in to change notification settings - Fork 726
Labels
area: uiChanges related to the UI of Task.Changes related to the UI of Task.
Description
Description
Our task file is getting kind of long (not in a bad way). I typed in a task incorrectly and thought it would be quite nice to suggest the closest task when the spelling is slightly off. I've had other tools automatically run the command it thinks you wanted, but just offering a sugestion would improve the ergonomics here.
For instance, something like this:
➤ task line-pyright
task: Available tasks for this project:
[...]
* lint: Run all available linting tools.
* lint-black: Checks the styling of the Python code with Black.
* lint-black-fix: Fixes the styling of the Python code with Black.
* lint-eslint: Checks the styling of the JS code with eslint.
* lint-eslint-fix: Fixes the styling of the JS code with eslint.
* lint-fix: Fix all automatically fixable errors. This is useful to run before pushing.
* lint-pyright: Runs type checking on python files.
* lint-ruff: Lints the Python code with the ruff linter.
* lint-ruff-fix: Fixes Python code lint errors with the ruff linter.
[...]
task: Task "line-pyright" does not exist.
Did you mean `task lint-pyright`?
I searched through the issues and didn't see this feature request anywhere.
Metadata
Metadata
Assignees
Labels
area: uiChanges related to the UI of Task.Changes related to the UI of Task.