Skip to content

Commit 82e2e9a

Browse files
committed
chore(shortcuts): remove sharding
1 parent 8fb7961 commit 82e2e9a

2 files changed

Lines changed: 12 additions & 20 deletions

File tree

cli/cli.go

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,16 @@ package cli
22

33
// Shortcuts is a map of all the shortcuts supported by the CLI
44
var Shortcuts = map[string]string{
5-
"create": "apps:create",
6-
"destroy": "apps:destroy",
7-
"info": "apps:info",
8-
"login": "auth:login",
9-
"logout": "auth:logout",
10-
"logs": "apps:logs",
11-
"open": "apps:open",
12-
"pull": "builds:create",
13-
"rollback": "releases:rollback",
14-
"run": "apps:run",
15-
"scale": "pts:scale",
16-
"sharing": "perms:list",
17-
"sharing:list": "perms:list",
18-
"sharing:add": "perms:add",
19-
"sharing:remove": "perms:remove",
20-
"whoami": "auth:whoami",
5+
"create": "apps:create",
6+
"destroy": "apps:destroy",
7+
"info": "apps:info",
8+
"login": "auth:login",
9+
"logout": "auth:logout",
10+
"logs": "apps:logs",
11+
"open": "apps:open",
12+
"pull": "builds:create",
13+
"rollback": "releases:rollback",
14+
"run": "apps:run",
15+
"scale": "pts:scale",
16+
"whoami": "auth:whoami",
2117
}

cmd/shortcuts_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ pull -> builds:create
1818
rollback -> releases:rollback
1919
run -> apps:run
2020
scale -> pts:scale
21-
sharing -> perms:list
22-
sharing:add -> perms:add
23-
sharing:list -> perms:list
24-
sharing:remove -> perms:remove
2521
whoami -> auth:whoami
2622
`
2723
actual := sortShortcuts()

0 commit comments

Comments
 (0)