cobra
cobra copied to clipboard
A Commander for modern Go CLI interactions
Bumps [github.com/inconshreveable/mousetrap](https://github.com/inconshreveable/mousetrap) from 1.0.0 to 1.0.1. Commits 3a66f25 add go.mod cf0c75c Merge pull request #6 from inconshreveable/inconshreveable/expanded-apache-li... a5d4042 Update LICENSE See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot...
This PR adds a documentation generator for [Asciidoc](https://asciidoc.org/).
If the *TraverseChildren* mode is active, the *Traverse* function returns the last accepted command along the requested sub command chain. This command is then used to parse the arguments. This...
Hii guys, so i have a template to be executed in my cli package which can kickstart a server and load the template, but i couldn't run the cli tool...
Hi, I want to define a custom completion for the first argument of a sub command. That's my ValidArgsFunction (I defined it for the sub command `update`, my cli application...
This is a subset of #841, which was approved by @jharshman and reviewed by @marckhouzam . Fix #838 and Fix #745. The original validators care about the number of arguments...
This is a subset of #1643, which is a subset of #841.
In preparation for #1245, this PR moves documentation sources (markdown files) into `site/content`: - `projects_using_cobra.md` is moved to `site/content/`. - All `*_completions.md` are moved to `site/content/completions/*.md`. - All `doc/*_docs.md` are...
The workflow dispatch event allows maintainers or forkers to trigger CI runs either through the web GUI or through the API. See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch.