From 67f7028f2f9e196b02257486e3196d9d8a4b704b Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea Date: Wed, 30 Nov 2022 14:03:13 +0100 Subject: [PATCH] Add perms alias for permissions subcommand --- internal/cli/roles_permissions.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/cli/roles_permissions.go b/internal/cli/roles_permissions.go index c0f4637dc..c28f9d08e 100644 --- a/internal/cli/roles_permissions.go +++ b/internal/cli/roles_permissions.go @@ -32,9 +32,10 @@ var ( func rolePermissionsCmd(cli *cli) *cobra.Command { cmd := &cobra.Command{ - Use: "permissions", - Short: "Manage permissions within the role resource", - Long: "Manage permissions within the role resource.", + Use: "permissions", + Short: "Manage permissions within the role resource", + Long: "Manage permissions within the role resource.", + Aliases: []string{"perms"}, } cmd.SetUsageTemplate(resourceUsageTemplate())