flaggy
flaggy copied to clipboard
Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.
We should generate bash auto complete code when some pre-defined flag is specified. The flag should be able to be turned off if the user prefers that flag not be...
It would help contributors if we made getting started an easy process. The process is basically the git flow... - Make an issue to propose your change - Fork the...
This issue is to plan this feature. We should not put this program in the main codebase if it has external dependencies. Formats to consider support for: - Markdown -...
"Unknown arguments supplied" when the subcommand and flag have same shortname ```go // example.go package main import ( "fmt" "github.com/integrii/flaggy" ) func main() { subcmd := flaggy.NewSubcommand("testSubCmd") subcmd.ShortName = `t`...
Hi. Consider the following example: ```go package main import "github.com/integrii/flaggy" func main() { // Declare variables and their defaults var stringFlag = "defaultValue" // Create the subcommand subcommand := flaggy.NewSubcommand("subcommandExample")...
If I have a `StringSlice` flag called `-f`, passing `-f "yes, this is all one parameter"` will result in `[]string{"yes", "this is all one parameter"}` and I need it to...
refactored help into subcommand to allow per subcommand help see examples/subcommandhelp/main.go for a demo