Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / spf13/cobra issues and pull requests

#2164 - feat: #1140 adding GenMarkdownTreeCustomWithFooter method

Pull Request - State: open - Opened by ammiranda 12 days ago - 1 comment
Labels: area/docs-generation

#2163 - Issues with flags marked as mutually exclusive during testing

Issue - State: open - Opened by consolethinks 12 days ago - 1 comment

#2162 - Root Command doesn't work with sub commands

Issue - State: closed - Opened by gyanendrasng 17 days ago - 2 comments

#2161 - How to distinguish default value and manually set value of a flag?

Issue - State: closed - Opened by OpenWaygate 19 days ago - 2 comments

#2160 - how to add entry to `Available Commands` help section.

Issue - State: closed - Opened by mkyc 20 days ago - 2 comments

#2158 - Pass arguments to the help function

Pull Request - State: open - Opened by marckhouzam 22 days ago - 6 comments

#2157 - Need help with SetUsageTemplate() and Flags

Issue - State: closed - Opened by jftuga 22 days ago - 2 comments

#2155 - Help command fails on flags

Issue - State: closed - Opened by marckhouzam 23 days ago - 2 comments
Labels: kind/bug, area/cobra-command

#2154 - Arguments not passed to the help function

Issue - State: open - Opened by marckhouzam 23 days ago
Labels: kind/bug, area/cobra-command

#2153 - feat: add flag prerequisite check

Pull Request - State: open - Opened by sam80180 24 days ago - 2 comments

#2152 - Address golangci-lint deprecation warnings, enable some more linters

Pull Request - State: closed - Opened by scop about 1 month ago

#2151 - document using arg variables after cobra-cli init

Issue - State: open - Opened by sedan-cell about 1 month ago

#2150 - Is it possible to easily hide default flag values from help?

Issue - State: closed - Opened by Drakmyth about 1 month ago - 5 comments

#2149 - build(deps): bump codelytv/pr-size-labeler from 1.8.1 to 1.10.0

Pull Request - State: open - Opened by dependabot[bot] about 1 month ago
Labels: area/github, dependencies, github_actions

#2148 - Remove fully inactivated linters

Pull Request - State: closed - Opened by nirs about 1 month ago - 1 comment

#2147 - Nested searching with alias name

Issue - State: closed - Opened by ardaguclu about 2 months ago - 9 comments

#2146 - build(deps): bump golangci/golangci-lint-action from 4.0.0 to 6.0.1

Pull Request - State: open - Opened by dependabot[bot] about 2 months ago
Labels: area/github, dependencies, github_actions

#2144 - Completion does not work correctly if there is a @ symbol in the string

Issue - State: open - Opened by Bernigend about 2 months ago - 2 comments

#2143 - build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.3.0

Pull Request - State: closed - Opened by dependabot[bot] about 2 months ago - 1 comment
Labels: area/github, dependencies, github_actions

#2142 - how to set `nil` as default value in `BoolVar`?

Issue - State: closed - Opened by OpenWaygate about 2 months ago - 1 comment

#2141 - Is there a level to how many levels you can descend?

Issue - State: closed - Opened by SimplySeth about 2 months ago - 3 comments

#2140 - Consistent annotation names

Pull Request - State: closed - Opened by nirs about 2 months ago - 1 comment

#2139 - Release 1.8.1?

Issue - State: closed - Opened by nirs about 2 months ago - 5 comments

#2138 - How to handle wrong subcommand?

Issue - State: open - Opened by officialasishkumar 2 months ago

#2137 - build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0

Pull Request - State: closed - Opened by dependabot[bot] 2 months ago - 1 comment
Labels: area/github, dependencies, github_actions

#2136 - Override help subcommand logic

Issue - State: open - Opened by firelizzard18 2 months ago - 2 comments

#2135 - `PersistentFlags` only works for root cmd

Issue - State: closed - Opened by ZhangYet 2 months ago - 1 comment

#2134 - build(deps): bump codelytv/pr-size-labeler from 1.8.1 to 1.9.0

Pull Request - State: closed - Opened by dependabot[bot] 2 months ago - 1 comment
Labels: area/github, dependencies, github_actions

#2133 - I'd like to: -o wide -o json

Issue - State: closed - Opened by lknite 2 months ago - 1 comment

#2132 - Embedded flags causes "unknown flag"

Issue - State: closed - Opened by chasefleming 2 months ago

#2130 - Need an error when the command is not found in the subcommand

Issue - State: open - Opened by timidsmile 3 months ago - 1 comment

#2128 - docs: update user guide

Pull Request - State: closed - Opened by cubxxw 3 months ago - 1 comment

#2127 - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4

Pull Request - State: closed - Opened by dependabot[bot] 3 months ago - 1 comment
Labels: dependencies, go

#2126 - fix(bash): Fix bash completion for suggestions that contain special characters.

Pull Request - State: open - Opened by JeffFaer 3 months ago - 1 comment

#2125 - Documentation for back-quoted flag usage

Issue - State: open - Opened by calebstewart 4 months ago - 4 comments

#2124 - Correct pattern for exiting a command with a non zero return code

Issue - State: open - Opened by tomqwpl 4 months ago - 2 comments

#2122 - chore: remove repetitive words

Pull Request - State: closed - Opened by racerole 4 months ago - 1 comment
Labels: area/docs-generation, kind/cleanup, lgtm

#2121 - Update README.md with proper install command as earlier cmd is deprecated.

Pull Request - State: closed - Opened by bhargavkeshav 4 months ago - 1 comment

#2120 - fix: remove deprecated io/ioutils package

Pull Request - State: closed - Opened by pedromotita 4 months ago - 3 comments
Labels: kind/testing, lgtm

#2119 - Remove deprecated `ioutil.ReadAll`

Issue - State: closed - Opened by pedromotita 4 months ago

#2118 - Add Incus to the list of projects using Cobra

Pull Request - State: closed - Opened by montag451 4 months ago - 1 comment

#2117 - feat: add flag help groups

Pull Request - State: open - Opened by pedromotita 4 months ago - 2 comments
Labels: area/cobra-command, size/XL, go

#2116 - Question about structure and initialization

Issue - State: closed - Opened by jsumners 4 months ago - 1 comment

#2114 - CheckErr with custom status code

Issue - State: open - Opened by cedrata 4 months ago

#2113 - ci: test golang 1.22

Pull Request - State: closed - Opened by cyrilico 4 months ago - 2 comments
Labels: kind/testing, lgtm, area/github

#2112 - Flag special "mark" support

Issue - State: open - Opened by sagan 4 months ago

#2111 - How do I use multiple characters in a short parameter?

Issue - State: closed - Opened by maijun-sec 4 months ago - 5 comments

#2110 - feat: Multiple Required/Persistent Flags

Pull Request - State: open - Opened by SeanPino 4 months ago - 1 comment

#2109 - Data race when using multiple unrelated `cobra.Command` instances

Issue - State: open - Opened by thepaul 5 months ago - 1 comment

#2108 - build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0

Pull Request - State: closed - Opened by dependabot[bot] 5 months ago
Labels: lgtm, area/github, dependencies, github_actions

#2107 - Huge bash completions file that's very slow to source

Issue - State: closed - Opened by memeplex 5 months ago - 2 comments

#2105 - Show the actual available flags in useline

Pull Request - State: open - Opened by lugray 5 months ago - 5 comments

#2104 - os.Args added as flags to command

Issue - State: open - Opened by kate-osborn 5 months ago

#2103 - 'MarkFlagsRequiredTogether' does not work as intended. Am I wrong?

Issue - State: open - Opened by haung921209 5 months ago - 1 comment

#2102 - build(deps): bump actions/cache from 3 to 4

Pull Request - State: closed - Opened by dependabot[bot] 5 months ago
Labels: lgtm, area/github, dependencies, github_actions

#2101 - PersistantFlags are lost when calling up PersistentPostRun chain

Issue - State: closed - Opened by eduser25 5 months ago - 1 comment

#2099 - More linting

Pull Request - State: closed - Opened by scop 6 months ago
Labels: area/docs-generation

#2098 - Add Taikun CLI to list of projects

Pull Request - State: closed - Opened by Smidra 6 months ago - 1 comment
Labels: kind/documentation

#2097 - feat: Add the `WithUsage` function.

Pull Request - State: open - Opened by octo 6 months ago - 2 comments

#2095 - fish completions: fix double-evaluation of commandline

Pull Request - State: open - Opened by krobelus 6 months ago - 4 comments

#2094 - Add test for func in cobra.go

Pull Request - State: closed - Opened by korovindenis 6 months ago - 1 comment
Labels: kind/testing

#2093 - [chore]: update projects using cobra

Pull Request - State: closed - Opened by cmwylie19 6 months ago - 1 comment

#2092 - non-boolean flags found on sub commands regardless of order

Issue - State: open - Opened by swills 6 months ago - 4 comments

#2091 - Add EnableFlagSorting similar to EnableCommandSorting

Issue - State: open - Opened by swills 6 months ago

#2090 - Implement localization using gettext files — I18N — L10N

Pull Request - State: open - Opened by Goutte 7 months ago - 17 comments
Labels: kind/feature, area/cobra-command

#2087 - build(deps): bump actions/setup-go from 4 to 5

Pull Request - State: closed - Opened by dependabot[bot] 7 months ago
Labels: area/github, dependencies, github_actions

#2086 - build(deps): bump actions/labeler from 4 to 5

Pull Request - State: closed - Opened by dependabot[bot] 7 months ago
Labels: area/github, dependencies, github_actions

#2085 - Add a Data map[string]any to store arbitrary command data

Pull Request - State: open - Opened by maxlandon 7 months ago - 3 comments
Labels: kind/feature, area/cobra-command

#2080 - fix: reset flags' value to default if flags have been parsed

Pull Request - State: closed - Opened by levisyin 7 months ago - 2 comments
Labels: lifecycle/wont-do

#2079 - [Bug] SetArgs doesn't reset flag value

Issue - State: closed - Opened by levisyin 7 months ago - 9 comments

#2077 - Child command context is not updated when global context changed

Issue - State: open - Opened by libozh 7 months ago - 2 comments

#2070 - Fixes and docs for usage as plugin

Pull Request - State: closed - Opened by nirs 8 months ago - 3 comments
Labels: kind/bug, area/cobra-command, area/flags-args

#2064 - flags: clarify documentation that LocalFlags related function do not modify the state

Pull Request - State: closed - Opened by niamster 8 months ago - 1 comment
Labels: area/flags-args, kind/documentation

#2030 - Move newline to inside the DisableAutoGenTag block

Pull Request - State: open - Opened by dramich 9 months ago - 4 comments
Labels: area/docs-generation

#2019 - Proposal: Freeze the completion API

Issue - State: open - Opened by maxlandon 11 months ago

#2018 - Support usage as plugin for tools like kubectl

Pull Request - State: open - Opened by nirs 11 months ago - 2 comments
Labels: area/cobra-command, lgtm

#2017 - Support usage line when running as kubectl plugin

Issue - State: open - Opened by nirs 11 months ago - 1 comment

#2016 - default completion command on "empty" project

Issue - State: open - Opened by gilex-dev 11 months ago

#2014 - How to call a command from another command with flags

Issue - State: closed - Opened by ssantoshp 11 months ago - 9 comments

#2012 - Let the commands store flagComp functions internally (and avoid global state)

Pull Request - State: open - Opened by maxlandon 11 months ago - 4 comments

#2011 - Question: dynamic default values in flags using viper

Issue - State: closed - Opened by xsilas 11 months ago

#2009 - Bug: MarkFlagsOneRequired does not check for persistent flag set in parent

Issue - State: closed - Opened by omani 11 months ago - 3 comments

#2008 - `cobra-cli init` should refuse to overwrite existing files

Issue - State: closed - Opened by richardjharris 11 months ago - 2 comments

#2007 - Can I make it ignore flags including hyphen(-)?

Issue - State: closed - Opened by myyrakle 11 months ago - 1 comment

#2006 - Inconsistent behavior between `SetHelpFunc` and `Help`

Issue - State: open - Opened by capsci 11 months ago

#2005 - Passing in a common struct from rootCmd and its subcommands

Issue - State: open - Opened by esn89 11 months ago - 1 comment