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 issue is related to #633. For example: `> someTool --help` ``` Available Commands: help Help about any command target Print the version number of Hugo ``` `> someTool target...

kind/feature
area/lib

Hello, I'm trying to write custom completions for [skopeo](https://github.com/containers/skopeo), and I ran into something that I don't know if it's possible to do using the builtin cobra completions. I'm trying...

Fixes https://github.com/spf13/cobra/issues/2240

When using `SetHelpFunc` the function gets given a `Command` object and you'd think you could use `Context()` to get the right context off the command, but it doesn't actually get...