Skip to content

FR: Exception that when raised prints the task usage (print_task_help) #857

@albertvaka

Description

@albertvaka

It's a common pattern in CLI tools to print the help/usage if the arguments given are inconsistent or not valid.

This is something that can only be detected during the execution when the arguments are parsed and validated.

It would be useful to have a way to trigger the print_task_help function from the task itself (eg: by raising a specific exception) when that happens.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions