cobra
cobra copied to clipboard
A Commander for modern Go CLI interactions
Fixes #1786 Thanks to @fnickels's nice work on #1707, I realized why the `--help`/`-h` and `--version`/`-v` flags where included in shell completions. The `--help`, `-h`, `--version` and `-v` flags are...
Hi, I noticed that the spf13/pflag dependency hasn't been bumped in 2+ years and the PRs are piling up over there. Is cobra trying to move away from it eventually,...
Hello, cobra community! This PR size is not small, but I believe it will be considered, because I tried my best to improve quality of the code and implement new...
I'm trying to create a command that would be invoked like: ```sh app configure dev destination k8s ``` I would like both `dev` and `k8s` to be arguments, so the...
I have an application that can be called in two ways: 1. manually invoke from the CLI 2. process directives in specially-formatted lines of a text file, which contain CLI...
I was on a flight last week and I realized that our "seasonal" releases (like "Summer 20xx" release, "Winter 20xx" release, etc.) are not very inclusive: there are people all...
From the `CONDUCT.md`: > Deprecation of Go versions or dependent packages will only occur in major releases. It's been awhile since I read that deprecation policy but I'm not sure...
When the command searches args to find the arg matching a particular subcommand name, it needs to ignore flag values, as it is possible that the value for a flag...
I'm not really sure if this is an issue, but I noticed that when calling `ValidateArgs` and the args are set to `nil`, the handler just effectively ignores it and...