jdx / usage

A specification for CLIs
https://usage.jdx.dev
MIT License
151 stars 6 forks source link

SpecArg required & default inter-operability not working properly #174

Closed miguelmig closed 2 days ago

miguelmig commented 2 days ago

If SpecArg is parsed from a node with a default defined but not required, required is not set to false

Concrete example: mise tasks --usage where there is a task with {{arg(name='foo', default='bar')}}