go-arg
go-arg copied to clipboard
Allow environment only arg
This should be possible to allow certain parameters to be only passed via env:
type args struct {
AuthKey string `arg:"required,--,-,env:FOO_AUTH_KEY"`
}
I could try to do a PR if wanted.
Yes that seems reasonable. PR would be much appreciated @IljaN