Cobra
Create Go terminal commands with subcommands and flags.
spf13 · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/spf13/cobra at v1.10.2. Define a sample command and parse its counted seeds option.
What we tested
v1.10.2. Define a sample command and parse its counted seeds option. Ran the command handler and parsed the requested numeric count.