{"repo":"integrii/flaggy","free":true,"listed":false,"github":"https://github.com/integrii/flaggy","clone":"git clone https://github.com/integrii/flaggy.git","description":"Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.","language":"Go","stars":951,"topics":["golang","flags","subcommands","cli","input"],"license":"Unlicense","category":"cli-tools","readme_excerpt":"Sensible and fast command-line flag parsing with excellent support for subcommands and positional values . Flags can be at any position. Flaggy has no required project or package layout like Cobra requires, and no external dependencies ! Check out the go doc, examples directory, and examples in this readme to get started quickly. You can also read the Flaggy introduction post with helpful examples on my weblog. Installation go get -u github.com/integrii/flaggy Key Features - Very easy to use (see examples below) - 35 different flag types supported - Any flag can be at any position - Pretty and readable help output by default - Positional subcommands - Positional parameters - Suggested subcommands when a subcommand is typo'd - Nested subcommands - Both global and subcommand specific flags - Both global and subcommand specific positional parameters - Customizable help templates for both the global command and subcommands - Customizable appended/prepended help messages for both the global command and subcommands - Simple function that displays help followed by a custom message string - Flags and subcommands may have both a short and long name - Unlimited trailing arguments after a -- - Flags can use a single dash or double dash ( --flag , -flag , -f , --f ) - Flags can have = assignment operators, or use a space ( --flag=value , --flag value ) - Flags support single quote globs with spaces ( --flag 'this is all one value' ) - Flags of slice types can be passed multiple times ( -","default_branch":null,"files":null,"tree":[],"storefront":"/r/integrii","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/integrii/flaggy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}