command-line flags: add cli flag
command-line flags: add cli flag: a task in smol-software-harbor (Harbor dataset). Add a boolean -upper flag to the greeting program ( main.go ): when set, the whole output is printed in uppercase ( go run . -name Ana -upper prints HELLO, ANA! ). Without it nothing changes. Run go test ./... and…
The task
Add a boolean `-upper` flag to the greeting program (`main.go`): when set, the whole output is printed in uppercase (`go run . -name Ana -upper` prints `HELLO, ANA!`). Without it nothing changes. Run `go test ./...` and try the binary.
Part of efederici/smol-software-harbor.