Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internal/cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import (

func WrapResourceCommand(cmd *cobra.Command) *cobra.Command {
preRunFunc := func(cmd *cobra.Command, args []string) error {
Comment thread
scotwells marked this conversation as resolved.
// if there are not args we let the underline command to deal with it.
if len(args) == 0 {
return nil
}
// This mapping helps user during the getting started phase
if args[0] == "organizations" || args[0] == "organization" {
args[0] = "organizationmemberships"
Expand Down