Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
state:open label:kind/support
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
spf13
/
cobra
Public
Notifications
You must be signed in to change notification settings
Fork
3k
Star
42.3k
Code
Issues
234
Pull requests
101
Actions
Projects
0
Wiki
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Labels, Milestones, Triaging ⚡
#1603 ·
jpmcb
opened
on Feb 17, 2022
10
Issues
Search Issues
state
:
open
label
:
kind/support
state:open label:kind/support
Search
Labels
Milestones
New issue
Search results
Open
Closed
Question:How to write custom template?
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#1995
In spf13/cobra;
·
L-time
opened
on Jul 14, 2023
Context.WithTimeout not stopping command or how do I stop a command
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#1868
In spf13/cobra;
·
lpegoraro
opened
on Nov 30, 2022
Generated documents for options be more clear
area/docs-generation
Generation of docs via Cobra
Generation of docs via Cobra
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#1826
In spf13/cobra;
·
Poor12
opened
on Oct 13, 2022
Cannot init on new module
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#1587
In spf13/cobra;
·
Jarvvski
opened
on Jan 23, 2022
Unable to get completion to work in ~/.zshrc
area/shell-completion
All shell completions
All shell completions
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#1529
In spf13/cobra;
·
JCzz
opened
on Nov 8, 2021
cobra flag can't correctly parse the param in powershell
area/flags-args
Changes to functionality around command line flags and args
Changes to functionality around command line flags and args
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
kind/upstream
Go modules cobra depends on
Go modules cobra depends on
lifecycle/wont-do
For issues and PRs the community has determined are not a priority and will not execute against
For issues and PRs the community has determined are not a priority and will not execute against
Status: Open.
#1379
In spf13/cobra;
·
yanggee
opened
on Apr 19, 2021
github.com/golang/glog args -alsologtostderr ERROR: logging before flag.Parse: I0126 10:46:01.877189
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
triage/needs-info
Needs more investigation from maintainers or more info from the issue provider
Needs more investigation from maintainers or more info from the issue provider
Status: Open.
#1319
In spf13/cobra;
·
liukelin
opened
on Jan 26, 2021
No way to clear initializers for testing
area/flags-args
Changes to functionality around command line flags and args
Changes to functionality around command line flags and args
area/lib
Methods and functions that exist in the cobra library and consumed by users
Methods and functions that exist in the cobra library and consumed by users
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#1180
In spf13/cobra;
·
electrofelix
opened
on Jul 28, 2020
Docs needed: how best to handle errors in Run
kind/documentation
Documentation of cobra itself
Documentation of cobra itself
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#914
In spf13/cobra;
·
anentropic
opened
on Jul 19, 2019
How to create root level method calling for each submodule after flags parsing
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
Status: Open.
#674
In spf13/cobra;
·
dagar17
opened
on Apr 12, 2018
License of generated/provided code not clear
admin
For general admin tasks to be done usualy by maintainers
For general admin tasks to be done usualy by maintainers
kind/support
Questions, supporting users, etc.
Questions, supporting users, etc.
triage/needs-triage
Needs to be placed into a milestone or be closed by maintainers
Needs to be placed into a milestone or be closed by maintainers
Status: Open.
#534
In spf13/cobra;
·
Fjolnir-Dvorak
opened
on Sep 22, 2017
You can’t perform that action at this time.