$ go run . --foo=foo a --bar=bar b
NAME:
example - A new cli application
USAGE:
example [command [command options]] [arguments...]
COMMANDS:
a
help, h Shows a list of commands or help for one command
OPTIONS:
--foo value
--bar value
--help, -h show help (default: false)
2023/12/08 13:45:41 Required flag "bar" not set
exit status 1
Info:
v3.0.0-alpha6
Required
is set tofalse
Code
Expected
Actual