go-clap
go-clap copied to clipboard
Lightweight, non intrusive Command Line Argument Parser
The `time.Duration` is supported in the default `flag` package, and I hope in go-clap too.
Is it possible to print a usage help text, based on the `config` struct?
It'd be neat if you could handle nested structs to control for flow e.g. type Command struct{ Foo *struct{ Bar `,-b, mandatory` } `clap:"foo"` Biz *struct{ Bar `,-b` } `clap:"biz"`...
Do you have any thoughts on allowing CSV slices? e.g --my-args one,two,three,four,"five has a space",six Alternatively, flag repetition to allow slice args? e.g --my-args one --my-args two ... --my-args "five...
Thanks for this simple library! It would be nice if the result of `clap.Parse` would come with a default `Stringer` method, which chains all messages from the individual message slices...