Open scottopell opened 8 months ago
I can fix it. but I don't like invoke --help taskname
, why not just invoke taskname --help
. It's more *nix style, which is default case in most scenarios.
Agreed! invoke taskname --help
should be the standard.
I have a repro where
--help
is incorrectly treated as a positional arg instead of triggering the invoke command help printout. https://github.com/scottopell/invoke-help-bugI've read through #205 and from what I understand this is not expected,
--help
and other core flags should be parsed out before task execution from what I understand.Are there any suggested workarounds? Or is this unavoidable when the task takes positional arguments?