Skip to content

Support task groups #352

@deemp

Description

@deemp

Currently, I get this when I run uv run poe

Configured tasks:
  dev                   Run server
  check                 Format, lint, typecheck
  typecheck             Run all typecheckers
  ty-check              Run the 'ty' typechecker
  pyright-check         Run the 'pyright' typechecker
  lint                  Run the 'ruff' linter
  format                Run the 'ruff' formatter
  test                  Run pytest

I'd like to group my commands into sections for better navigation among them. Example:

Configured tasks:
[Server]
  [[Dev]]
    dev                   Run server
[Static analysis]
  [[All]]
    check                 Format, lint, typecheck
  [[Typecheck]]
    typecheck             Run all typecheckers
    ty-check              Run the 'ty' typechecker
    pyright-check         Run the 'pyright' typechecker
  [[Lint]]
    lint                  Run the 'ruff' linter
  [[Format]]
    format                Run the 'ruff' formatter
[Dynamic analysis]
  [[Tests]]
    test                  Run pytest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions