You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to display the default value of an args in the help?
Example:
[tool.poe.tasks.load]
help = "Load base data"control.expr = "pack"
[[tool.poe.tasks.load.args]]
name = "pack"options = ["-p", "--pack"]
help = "The amount of fixtures needed"default = "full"...
Now the help displays:
load Load base data
-p, --pack The amount of fixtures needed
It would be useful to add this:
-p, --pack The amount of fixtures needed [Default: full]
I could write it by hand, but using directly the default is more DRY.
Thanks!
The text was updated successfully, but these errors were encountered:
I think this is a good idea. I'd like to overhaul how documentation works at some point to make it more detailed, but this is a step in the right direction. Feel free to submit a PR, otherwise I'll add it when I next have some time.
Thanks for this absolutely wonderful lib!
Would it be possible to display the default value of an args in the help?
Example:
Now the help displays:
It would be useful to add this:
I could write it by hand, but using directly the default is more DRY.
Thanks!
The text was updated successfully, but these errors were encountered: