We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e570f42 + f4e87bb commit 09a37fcCopy full SHA for 09a37fc
1 file changed
internal/cmd/utils.go
@@ -6,6 +6,10 @@ import (
6
7
func WrapResourceCommand(cmd *cobra.Command) *cobra.Command {
8
preRunFunc := func(cmd *cobra.Command, args []string) error {
9
+ // if there are not args we let the underline command to deal with it.
10
+ if len(args) == 0 {
11
+ return nil
12
+ }
13
// This mapping helps user during the getting started phase
14
if args[0] == "organizations" || args[0] == "organization" {
15
args[0] = "organizationmemberships"
0 commit comments