Marc Khouzam
Marc Khouzam
If I declare a flag `--flag` on the root command then declare the same local flag on a sub command, the local flag shadows the persistent one. This seems reasonable....
It was pointed out on Slack that there is no explanation in the docs of what the `toComplete` parameter represents for `ValidArgsFunction`. This PR explains with examples the `toComplete` and...
This supersedes #1450 and #1392 When a program has no sub-commands, its root command can accept arguments. If we add the default "completion" command to such programs they will now...
I ran across a possible problem with using powershell completion with aliases. I can't recall where it was though, but the situation is pretty simple. IIUC, when a user has...
When using go 1.18, the format "go install github.com/kyoh86/richgo@latest" is needed (go get no longer works). This PR simply updates the warning printed by the Makefile to use "go install"...
I was going through the user-guide which I'm not sure I had read through and through before. These are small ajustements I noticed were needed.
Cobra supports a "no space" format for short flags. I had used it before, but I never really paid attention to it in the code base. For example: ``` kubectl...
This PR adds ActiveHelp to the cobra-cli as an example of the new ActiveHelp feature. This is a revival of #24 which I was not able to re-open. Since the...
During the discussion about creating the `cobra-cli` repo @spf13 hinted that we should rename the configuration file to `cobra-cli.yaml` but keep supporting the `cobra.yaml` name as a fallback. Please see...
Grafana v5 introduces the notion of folders in which we can group dashboards. http://docs.grafana.org/guides/whats-new-in-v5/#dashboard-folders A quick test with wizzy 0.6.0 to import dashboards and export them back shows that the...