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

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

Pull Request - State: closed - Opened by dependabot[bot] 8 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 8 months ago - 2 comments

#2105 - Show the actual available flags in useline

Pull Request - State: closed - Opened by lugray 8 months ago - 6 comments

#2104 - os.Args added as flags to command

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

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

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

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

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

#2101 - PersistantFlags are lost when calling up PersistentPostRun chain

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

#2099 - More linting

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

#2098 - Add Taikun CLI to list of projects

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

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

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

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

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

#2094 - Add test for func in cobra.go

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

#2093 - [chore]: update projects using cobra

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

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

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

#2091 - Add EnableFlagSorting similar to EnableCommandSorting

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

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

Pull Request - State: open - Opened by Goutte 10 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] 10 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] 10 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 10 months ago - 3 comments
Labels: kind/feature, area/cobra-command

#2084 - [doc] Add support for taking in `text/template`s for generating docs

Issue - State: open - Opened by jamietanna 10 months ago - 1 comment

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

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

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

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

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

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

#2070 - Fixes and docs for usage as plugin

Pull Request - State: closed - Opened by nirs 11 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 11 months ago - 1 comment
Labels: area/flags-args, kind/documentation

#2032 - Deprecated commands do not have documentation generated

Issue - State: open - Opened by jamietanna about 1 year ago - 1 comment

#2030 - Move newline to inside the DisableAutoGenTag block

Pull Request - State: open - Opened by dramich about 1 year ago - 4 comments
Labels: area/docs-generation

#2019 - Proposal: Freeze the completion API

Issue - State: open - Opened by maxlandon about 1 year ago

#2018 - Support usage as plugin for tools like kubectl

Pull Request - State: open - Opened by nirs about 1 year ago - 2 comments
Labels: area/cobra-command, lgtm

#2017 - Support usage line when running as kubectl plugin

Issue - State: open - Opened by nirs about 1 year ago - 1 comment

#2016 - default completion command on "empty" project

Issue - State: open - Opened by gilex-dev about 1 year ago

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

Issue - State: closed - Opened by ssantoshp about 1 year ago - 9 comments

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

Pull Request - State: open - Opened by maxlandon about 1 year ago - 31 comments

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

Issue - State: closed - Opened by xsilas about 1 year ago

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

Issue - State: closed - Opened by omani about 1 year ago - 3 comments

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

Issue - State: closed - Opened by richardjharris about 1 year ago - 2 comments

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

Issue - State: closed - Opened by myyrakle about 1 year ago - 1 comment

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

Issue - State: open - Opened by capsci about 1 year ago

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

Issue - State: open - Opened by esn89 about 1 year ago - 1 comment

#2004 - Discussion about completion command

Issue - State: closed - Opened by JunNishimura about 1 year ago - 2 comments

#2003 - minor corrections to unit tests

Pull Request - State: closed - Opened by JunNishimura about 1 year ago
Labels: kind/cleanup

#2002 - fix: stderr/stdout handling when custom err/out is defined (SetErrFallback)

Pull Request - State: open - Opened by tcarreira about 1 year ago - 2 comments

#2001 - all: refactor to use %q instead of "%s"

Pull Request - State: closed - Opened by gocurr about 1 year ago - 3 comments
Labels: area/docs-generation

#2000 - doc: fix typo, Deperecated -> Deprecated

Pull Request - State: closed - Opened by gocurr about 1 year ago - 2 comments
Labels: kind/cleanup

#1998 - Flags passed to `ValidArgsFunction` are improperly parsed

Issue - State: open - Opened by Karitham about 1 year ago - 2 comments

#1997 - Add remove group method for command

Pull Request - State: open - Opened by JunNishimura about 1 year ago - 2 comments
Labels: kind/feature, lgtm

#1996 - Link on doc does not work

Issue - State: open - Opened by ProjectsOfMLee about 1 year ago - 1 comment

#1995 - Question:How to write custom template?

Issue - State: open - Opened by L-time about 1 year ago - 1 comment
Labels: kind/support

#1993 - Deprecation warnings printing to STDOUT instead of STDERR

Issue - State: open - Opened by GDW1 about 1 year ago - 1 comment

#1992 - add PersistentPreRun to disable required flag for help and completion command

Pull Request - State: open - Opened by JunNishimura about 1 year ago - 15 comments
Labels: kind/bug, area/flags-args, lgtm

#1991 - How to retrieve parent command flag value?

Issue - State: open - Opened by alebedev80 about 1 year ago - 1 comment

#1990 - Completion with cobra and viper

Issue - State: open - Opened by shinji62 about 1 year ago - 4 comments
Labels: kind/bug, area/shell-completion

#1989 - markdown docs: add section 'Available commands'

Pull Request - State: open - Opened by deining over 1 year ago
Labels: area/docs-generation

#1988 - Allow custom error message from argument validation

Issue - State: open - Opened by Galzzly over 1 year ago - 1 comment

#1987 - Misleading shorthand flag panic message

Issue - State: closed - Opened by mdhender over 1 year ago - 3 comments
Labels: area/flags-args, good-first-issue, lifecycle/needs-pr

#1986 - MarkFlagRequired doesn't work as expected with TraverseChildren

Issue - State: open - Opened by mdhender over 1 year ago - 2 comments

#1985 - Option to disallow use of -f|--flag <space> arg

Issue - State: open - Opened by jfigge over 1 year ago

#1984 - site: add gohugo configuration and CI

Pull Request - State: open - Opened by umarcor over 1 year ago - 4 comments
Labels: area/github

#1983 - golangci: enable 'unused' and disable deprecated replaced by it

Pull Request - State: closed - Opened by umarcor over 1 year ago - 2 comments

#1982 - Exclude persistent flag in a sub-command

Issue - State: open - Opened by rchaganti over 1 year ago - 5 comments

#1980 - test: make fish_completions_test more robust

Pull Request - State: closed - Opened by branchvincent over 1 year ago - 3 comments

#1979 - Broken link

Issue - State: open - Opened by guettli over 1 year ago - 2 comments

#1978 - Fix grammar: 'allows to'

Pull Request - State: closed - Opened by supertassu over 1 year ago - 1 comment

#1977 - completers ∀x∈ {cmds, aliases} in powershell_completions.go

Pull Request - State: open - Opened by mavaddat over 1 year ago - 8 comments

#1976 - build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0

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

#1975 - Stud 3115

Pull Request - State: closed - Opened by waynepaffhausen-wk over 1 year ago - 3 comments
Labels: area/docs-generation, area/github

#1973 - Description in completion in double (not sure it's a Cobra issue)

Issue - State: open - Opened by metal3d over 1 year ago - 3 comments

#1972 - feat: add MarkFlagsMutuallyExclusiveAndRequired

Pull Request - State: closed - Opened by baruchiro over 1 year ago - 5 comments

#1971 - build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0

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

#1970 - How to get a list of flags associated with a particular command ?

Issue - State: open - Opened by enraiha0307 over 1 year ago - 3 comments

#1965 - Check if help command was invoked

Issue - State: closed - Opened by pawelbeza over 1 year ago - 3 comments

#1964 - zsh: command not found: cobra on mac after installation

Issue - State: closed - Opened by rngallen over 1 year ago - 11 comments

#1961 - `powershell_completions.go` - Not Completing File Path

Issue - State: closed - Opened by mattcargile over 1 year ago - 3 comments

#1960 - powershell: escape variable with curly brackets

Pull Request - State: closed - Opened by Luap99 over 1 year ago - 5 comments

#1959 - Broken links in cobra.dev site

Issue - State: open - Opened by Parthiba-Hazra over 1 year ago - 1 comment

#1958 - `go get` link seems wrong

Issue - State: open - Opened by m-kuzmin over 1 year ago - 1 comment

#1957 - Micro-optimizations

Pull Request - State: open - Opened by scop over 1 year ago - 1 comment

#1956 - Restructure code to let linker perform deadcode elimination step

Pull Request - State: open - Opened by aarzilli over 1 year ago - 13 comments

#1955 - docs: update go install command in readme

Pull Request - State: closed - Opened by dschaller over 1 year ago - 1 comment

#1954 - Enable builtin completion command for root command with only flags

Issue - State: closed - Opened by dbkegley over 1 year ago - 2 comments

#1953 - access bool flag set on root cmd in another package (stupid question)

Issue - State: open - Opened by zyxep over 1 year ago - 4 comments

#1952 - Add 'one required flag' group

Pull Request - State: closed - Opened by marevers over 1 year ago - 15 comments
Labels: kind/feature, area/flags-args, lgtm

#1951 - Doc bug: link to generator page is broken

Issue - State: open - Opened by realtebo over 1 year ago - 3 comments

#1948 - GenMarkdownTree creates header level 2 instead of header level 1

Issue - State: open - Opened by zchenyu over 1 year ago - 2 comments

#1947 - Question: How to debug cobra-cli application under vscode

Issue - State: closed - Opened by g41797 over 1 year ago - 1 comment

#1946 - Fix spelling mistake

Pull Request - State: closed - Opened by rhatdan over 1 year ago - 2 comments

#1945 - Fix typo in fish completions

Pull Request - State: closed - Opened by twpayne over 1 year ago - 1 comment

#1944 - Internationalization (I18N)

Pull Request - State: open - Opened by Goutte over 1 year ago - 14 comments
Labels: kind/feature