go-flags
go-flags copied to clipboard
go command line option parser
`WriteHelp` function will auto wrap and align the description that longer than terminal's width. When multi-byte character in the description, like emoji or Chinese, the wrapping will be wrong. ```go...
Related to [Issue](https://github.com/jessevdk/go-flags/issues/399): Stacked short options are not recognized after first unknown option (even with flag `IgnoreUnknown`). Following code sample: ```go package main import ( "fmt" "github.com/jessevdk/go-flags" ) var first...
Stacked short options are not recognized after first unknown option (even with flag `IgnoreUnknown`). Following code sample: ```go package main import ( "fmt" "github.com/jessevdk/go-flags" ) var first struct { Query...
Hi from the documentation it is not clear how to add a flag and pass the value there
while the implementation of the Unmarshaler interface is checked for positional arguments, custom validation rules implementing the ValueValidator interface are not checked TODO: show a minimal recreation of the bug
feat: Support terminated options like ``find -exec`` Enable option to receive arguments until specified terminator is reached or EOL has been found. This is inspired from ``find -exec [commands..] ;``...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210320140829-1e4c9ba3b0c4 to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Currently, PassAfterNonOption is a Parser flag. This means that it applies to all commands. Sometimes it's desirable have this behavior on only a subset of commands. For instance, for restart...
## Description Currently, a map flag only allows `:` as the delimiter between key and value, e.g. `-f key:value`. This PR allows customisation of the delimiter so users can choose...
I tried to build the datadog-agent for AIX, and I had difficulties because it didn't build the agent for AIX. Your library is used by datadog-agent, which is why I...