From df9f14d060d09f7b02045d25df7ccf5e9ac3bca2 Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:47:26 +0100 Subject: [PATCH] DXCDT-288: Add perms alias for permissions subcommand (#534) --- 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())