The original workflow of func-args-to-CLI-args inferring has been split into policies from which the user can choose.
The default policy, BY_NAME_IF_HAS_DEFAULT, closely follows the pre-v.0.30 behaviour (although there's a minor breaking change).
The new and recommended policy, BY_NAME_IF_KWONLY, enables for finer control over the resulting required vs. optional and positional vs. named arguments.
The original workflow of func-args-to-CLI-args inferring has been split into policies from which the user can choose.
The default policy,
BY_NAME_IF_HAS_DEFAULT
, closely follows the pre-v.0.30 behaviour (although there's a minor breaking change).The new and recommended policy,
BY_NAME_IF_KWONLY
, enables for finer control over the resulting required vs. optional and positional vs. named arguments.