Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@neithere
Copy link
Owner

@neithere neithere commented Oct 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants