go-flags
go-flags copied to clipboard
go command line option parser
Our help message looks like this now. ``` Usage: my-cli [OPTIONS] [command] Help Options: -h, --help Show this help message Environment Variables: --debug we want debug Available commands: api Set...
I'm afraid I introduced a bug in fixing #278: now this ```go package main import "github.com/jessevdk/go-flags" import "os" type options struct { Positional struct { Bar string `description:"bar"` } `positional-args:"yes"`...
When specifying a slice flag: ``` Strs []string `short:"s" long:"strs" description:"..." ``` there doesn't appear to be a way to specify a delimiter to use to split the provided strings...
I have implemented a feature that allows commands to be grouped by type in the help page. I think it would resolve #149, but even if it doesn't, do you...
may be add a configuration `negavtive:"true"` to the DSL to indicate which flags should receive --no-\* automatically? wdyt?
It would be convenient if there was built-in functionality for a programmer to specify a platform dependency on a given option. For example, something like: `type Options struct { WindowsOption...
My CLI has a few commands that I'd like to call out for easier discoverability, e.g. `login` should be listed first. Currently commands are ordered alphabetically, which is a sane...
Hi, I am trying to group the subcommands using the top-level option "group" in the struct field. But instead of grouping the subcommands, it actually groups the options in the...
This PR fixes a situation when there is only once choice available. Normally, we probably wouldn't expect it. But it can be in a situation where the software is being...