Skip to content

Pull requests: spf13/cobra

Author
Filter by author
Label
Filter by label
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Milestones
Filter by milestone
Reviews
Assignee
Filter by who’s assigned
Sort

Pull requests list

Share more code between Traverse and stripFlags
#617 opened Jan 17, 2018 by dnephin Loading… updated Jul 8, 2022
[issue #340] Don't display usage on a returned error by a RunE function
#713 opened Jul 4, 2018 by pierre-emmanuelJ Loading… updated Jul 8, 2022
Add setters for default help strings
#784 opened Nov 6, 2018 by ameyer-pivotal Loading… updated Jul 8, 2022
Add a COMMANDS section to generated man pages area/docs-generation Generation of docs via Cobra size/M Denotes a PR that chanes 24-99 lines
#939 opened Aug 29, 2019 by orobardet Loading… updated Jul 8, 2022
Use afero fs for manpage generation area/docs-generation Generation of docs via Cobra size/XL Denotes a PR that exceeds 200 lines. Caution!
#955 opened Sep 9, 2019 by orobardet Loading… updated Jul 8, 2022
Copy parsed flag values when constructing LocalFlags() area/flags-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 kind/bug A bug in cobra; unintended behavior
#1020 opened Jan 16, 2020 by bcongdon Loading… updated Jul 8, 2022
Output usage hint for both unknown subcommand and unknown flag in the same way area/lib Methods and functions that exist in the cobra library and consumed by users
#1023 opened Jan 29, 2020 by dgn Loading… updated Jul 8, 2022
fix(args): Correct legacyArgs logical errors triage/needs-info Needs more investigation from maintainers or more info from the issue provider
#1157 opened Jul 11, 2020 by donggangcj Loading… updated Jul 8, 2022
Improving the "required flag(s) "%s" not set" error message by not printing "(s)" if a single required flag is missing area/cobra-command Core `cobra.Command` implementations area/flags-args Changes to functionality around command line flags and args size/M Denotes a PR that chanes 24-99 lines
#1217 opened Sep 3, 2020 by nestoroprysk Loading… updated Jul 8, 2022
Check for disable auto gen tag on parents commands before filling man… area/docs-generation Generation of docs via Cobra
#1347 opened Feb 12, 2021 by dmartin35 Loading… updated Jul 8, 2022
command: Allow overriding of flag parse function area/flags-args Changes to functionality around command line flags and args kind/feature A feature request for cobra; new or enhanced behavior
#1359 opened Mar 2, 2021 by vkareh Loading… updated Jul 8, 2022
feat(completion): add default completion hidden if there are no subcmds
#1450 opened Jul 10, 2021 by scop Loading… updated Jul 8, 2022
Upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3 area/docs-generation Generation of docs via Cobra
#1481 opened Sep 3, 2021 by inteon Loading… updated Jul 8, 2022
Remove indentation causing RST errors
#1495 opened Sep 23, 2021 by melissamahoney-mongodb Loading… updated Jul 8, 2022
Handle requiredFlags errors in the same way as errors originating from parsing flags. area/flags-args Changes to functionality around command line flags and args
#1504 opened Oct 13, 2021 by nclaeys Loading… updated Jul 8, 2022
added custom footer options to md-docs-generator (spf13#1140) area/docs-generation Generation of docs via Cobra
#1511 opened Oct 21, 2021 by linuxboytoo Loading… updated Jul 8, 2022
remove unneeded error from printOption method area/docs-generation Generation of docs via Cobra
#1549 opened Dec 2, 2021 by YikSanChan Loading… updated Jul 8, 2022
Add Asciidoc documentation generator area/docs-generation Generation of docs via Cobra kind/feature A feature request for cobra; new or enhanced behavior
#1390 opened May 5, 2021 by craicoverflow Loading… updated Aug 8, 2022
args_test refactorization after generalizing ValidArgs lifecycle/active Actively being worked on by a community member or maintainer. Corresponds to someone being assigned size/XL Denotes a PR that exceeds 200 lines. Caution!
#841 opened Mar 18, 2019 by umarcor Draft updated Aug 21, 2022 Next
Add '[args]' and 'Valid Args:' to --help lifecycle/frozen Prevents GitHub actions from labeling issues / PRs with stale and rotten size/XL Denotes a PR that exceeds 200 lines. Caution!
#842 opened Mar 20, 2019 by umarcor Draft updated Aug 21, 2022
4 tasks
2
7
feat: panic on CheckErr
#1568 opened Dec 21, 2021 by guilhem Loading… updated Aug 22, 2022
Added asciidoc generation and associated tests. area/docs-generation Generation of docs via Cobra lifecycle/frozen Prevents GitHub actions from labeling issues / PRs with stale and rotten size/XL Denotes a PR that exceeds 200 lines. Caution!
#1698 opened May 17, 2022 by bovinemagnet Loading… updated Sep 8, 2022
add colors to CLI commands
#1231 opened Sep 22, 2020 by JulesDT Loading… updated Oct 1, 2022
fix: generate docs for commands containing slashes area/docs-generation Generation of docs via Cobra lifecycle/frozen Prevents GitHub actions from labeling issues / PRs with stale and rotten size/L Denotes a PR that chanes 100-199 lines
#1675 opened Apr 23, 2022 by jimschubert Loading… updated Oct 3, 2022
Fix hidden commands changing padding in usage template area/cobra-command Core `cobra.Command` implementations kind/bug A bug in cobra; unintended behavior lifecycle/frozen Prevents GitHub actions from labeling issues / PRs with stale and rotten triage/needs-info Needs more investigation from maintainers or more info from the issue provider
#1632 opened Mar 15, 2022 by aliscott Loading… updated Nov 10, 2022
ProTip! Updated in the last three days: updated:>2024-05-29.