Kingpin
Define clear subcommands and options for small Go tools.
alecthomas · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/alecthomas/kingpin/v2 at v2.4.0. Parse a sample seed quantity passed as a required flag.
What we tested
v2.4.0. Parse a sample seed quantity passed as a required flag. Accepted the provided flag and parsed quantity seven.