mirror of https://github.com/knative/client.git
Explores all sub-commands from root and adds a RunE for all commands that are groups with child commands and without a RunE. The added RunE will return the correct errors when the command is called with empty sub-command or with an unknown sub-command. It will also print the command help message first. Added a gotest.tools test for root.go. |
||
|---|---|---|
| .. | ||
| cloud.google.com/go | ||
| github.com | ||
| golang.org/x | ||
| google.golang.org/appengine | ||
| gopkg.in | ||
| gotest.tools | ||
| k8s.io | ||
| sigs.k8s.io/yaml | ||
| modules.txt | ||