Skip to content

Core flags given after task names fail silently #466

Closed
@bitprophet

Description

@bitprophet

Thanks to #205 we can now do things like inv mytask --help to get per-task help.

Unfortunately, a bug snuck in (quelle horreur!), namely that other core flags given after task names seem to just...do nothing. For example, inv --echo mytask shows command echoing, but inv mytask --echo does not. No error, but also no echo.

At first I feared this meant that any post-task flags that were invalid were getting swallowed silently, but this doesn't seem to be the case, things like inv mytask --lolno still result in parser errors.

So I think this is probably just a TODO that isn't implemented yet, where we need to add more logic/behavior interpreting the rest of the core flags on a per-task-execution basis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions