jessevdk/go-flags

Allow to specify default value for a positional argument

anatol opened this issue · 0 comments

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.