cobra icon indicating copy to clipboard operation
cobra copied to clipboard

A Commander for modern Go CLI interactions

Results 294 cobra issues
Sort by recently updated
recently updated
newest added

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...

kind/bug
size/L

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...

size/XL

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...

area/lib
triage/needs-info

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...

kind/bug
area/lib

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...

admin
lifecycle/needs-proposal
help-wanted

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...

admin
lifecycle/frozen
help-wanted

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...

size/L

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...

kind/support