nandlabs / go-commons

A common collection of utilities for Go programming language
Apache License 2.0
2 stars 2 forks source link

CLI Flag Parsing only happens in begining #68

Closed nandagopalan closed 1 year ago

nandagopalan commented 1 year ago

When I test the example3 in the readme go run main.go -pd="test" -pf="dev" test it works fine but go run main.go test -pd="test" -pf="dev" does not parse flags

neo7337 commented 1 year ago
  1. rename FlagBase struct to just Flag