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

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.0.0. Release notes Sourced from golangci/golangci-lint-action's releases. v5.0.0 What's Changed Changes feat: add support for pull_request_target and only-new-issues by @​kovetskiy in golangci/golangci-lint-action#506 feat: add option...

area/github
dependencies
github_actions

I am using cobra. I don't need subcommands. I do want the default help and completion subcommands to be generated. There should be an option for "generate default subcommands even...

Bumps [codelytv/pr-size-labeler](https://github.com/codelytv/pr-size-labeler) from 1.8.1 to 1.9.0. Release notes Sourced from codelytv/pr-size-labeler's releases. Support for ignoring line deletions; bug fixes What's Changed feat: add regex match for files to ignore by...

area/github
dependencies
github_actions

related to #623 - but I want the running command to receive rather than ignore unknown flags or return an error. my use case is loading user defined (in another...

kind/feature
area/flags-args

## Description Flags can now be split into groups in usage text: ``` $ root child --help Usage: root child [flags] Flags: -h, --help help for child --i int int...

area/cobra-command
size/XL
go

This PR originates from when using `nerdctl` (which built its CLI with cobra), the auto-completion will not work for unprivileged users, even if they have sudo permission and are trying...

hi ## Description When I execute a job on our task center, I need to get the final result of the execution, for example: `myapp job1 args1` When job1 doesn't...

Hi ! This is my first time with cobra i am working on a windows machine, windows 11 I have go 1.20.1 just installed I created a new folder for...

I like the idea of `BINARY VERB NOUN` ....aka.... `BINARY COMMAND ARG [FLAGS]`...But in my case `ARGs` have discrete flags. So I have opted for `BINARY COMMAND SUBCOMMAND [FLAGS]` which...

I have a struct which will contain information about my cloud environments: ```golang type foo struct { country string region string project string environment string } ``` I will init...