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

This is needed for[ v3 of `setup-go` to check the latest patch version of Go](https://github.com/actions/setup-go#check-latest-version). Related to https://github.com/spf13/cobra/pull/1660

size/XS
area/github

Since Cobra will provide suggestions that are less than or equal to this value, it is a maximum, not a minimum. I just noticed this and the cognitive dissonance was...

lifecycle/frozen
size/S

When using go 1.18, the format "go install github.com/kyoh86/richgo@latest" is needed (go get no longer works). This PR simply updates the warning printed by the Makefile to use "go install"...

area/go
kind/testing

This let's handle all flag errors and decide how to print them on the fly

lifecycle/frozen
size/L

Call function on properly on iterator variable

size/XS

- CVE-2022-28948 - GHSA-hp87-p4gw-j4gq

area/docs-generation
size/XS

- Have `command.Print*()` print to stdout, and print errors & warnings to stderr - Deprecate `command.OutOrStderr()` - Handle errors in built-in help command *Warning:* backwards-incompatible. Fixes https://github.com/spf13/cobra/issues/1708

area/cobra-command
kind/deprecation
triage/needs-info
size/M

In the current code, with a version set, `app help` does not display the switch option `--version`, while `app --help` does. * Fix missing '--version' flag from help command *...

kind/bug
area/flags-args
size/M
lgtm

Here's a bunch of bash code cleanups I made on the side while working on the performance improvements. See individual commits and messages for details. Some of these are also...

kind/cleanup
size/M

Added Asciidoc as a generation target for documentation. Based off the markdown, additional tests are added to ensure the nested file generation.

area/docs-generation
lifecycle/frozen
size/XL