{"repo":"alecthomas/kingpin","free":true,"listed":false,"github":"https://github.com/alecthomas/kingpin","clone":"git clone https://github.com/alecthomas/kingpin.git","description":"CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser","language":"Go","stars":3568,"topics":["go","kingpin","cli","command-line"],"license":"MIT","category":"cli-tools","readme_excerpt":"CONTRIBUTIONS ONLY What does this mean? I do not have time to fix issues myself. The only way fixes or new features will be added is by people submitting PRs. If you are interested in taking over maintenance and have a history of contributions to Kingpin, please let me know. Current status. Kingpin is largely feature stable. There hasn't been a need to add new features in a while, but there are some bugs that should be fixed. Why? I no longer use Kingpin personally (I now use kong). Rather than leave the project in a limbo of people filing issues and wondering why they're not being worked on, I believe this notice will more clearly set expectations. Kingpin - A Go (golang) command line and flag parser - Overview - Features - User-visible changes between v1 and v2 - Flags can be used at any point after their definition. - Short flags can be combined with their parameters - API changes between v1 and v2 - Versions - V2 is the current stable version - V1 is the OLD stable version - Change History - Examples - Simple Example - Complex Example - Reference Documentation - Displaying errors and usage information - Sub-commands - Custom Parsers - Repeatable flags - Boolean Values - Default Values - Place-holders in Help - Consuming all remaining arguments - Bash/ZSH/Fish Shell Completion - Supporting -h for help - Custom help Overview Kingpin is a fluent-style, type-safe command-line parser. It supports flags, nested commands, and positional arguments. Install it with: $ go get githu","default_branch":null,"files":null,"tree":[],"storefront":"/r/alecthomas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alecthomas/kingpin/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."}