Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to specify default value for a positional argument #373

Open
anatol opened this issue Nov 1, 2021 · 0 comments
Open

Allow to specify default value for a positional argument #373

anatol opened this issue Nov 1, 2021 · 0 comments

Comments

@anatol
Copy link

anatol commented Nov 1, 2021

I have a positional argument

Args struct {
	Output string `positional-arg-name:"output" default:"foo.txt"`
} `positional-args:"true"`

And default tag does not seem to work for it. It would be useful to allow to specify such default value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant