Skip to content

Commit

Permalink
changed ordering of the top level commands
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbishop committed Jun 16, 2022
1 parent 32662a5 commit 03c0d54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cliCmd/cmd.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ export function getTopLevelCommand(name) {
let removeCmd = getRemoveCommands(name)
if ( removeCmd !== null ) cmd = cmd.command("remove", removeCmd);

let addUserToGroupCmd = getAddUserToGroupCommands(name)
if ( addUserToGroupCmd !== null ) cmd = cmd.command("add_user", addUserToGroupCmd)

let removeBulkCmd = getRemoveBulkCommands(name)
if ( removeBulkCmd !== null ) cmd = cmd.command("remove_bulk", removeBulkCmd)

let addResourceToServiceAccount = getAddResourceToSericeAccountCommands(name)
if ( addResourceToServiceAccount !== null ) cmd = cmd.command("add_resource", addResourceToServiceAccount)
let addUserToGroupCmd = getAddUserToGroupCommands(name)
if ( addUserToGroupCmd !== null ) cmd = cmd.command("add_user", addUserToGroupCmd)

let addGroupToResource = getAddGroupToResourceCommands(name)
if ( addGroupToResource !== null ) cmd = cmd.command("add_group", addGroupToResource)

let addResourceToServiceAccount = getAddResourceToSericeAccountCommands(name)
if ( addResourceToServiceAccount !== null ) cmd = cmd.command("add_resource", addResourceToServiceAccount)

let addResourceToGroup = getAddResourceToGroupCommands(name)
if ( addResourceToGroup !== null ) cmd = cmd.command("add_resource", addResourceToGroup)

Expand Down

0 comments on commit 03c0d54

Please sign in to comment.