-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathcli.go
More file actions
23 lines (22 loc) · 724 Bytes
/
Copy pathcli.go
File metadata and controls
23 lines (22 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package cli
// Shortcuts is a map of all the shortcuts supported by the CLI
var Shortcuts = map[string]string{
"create": "apps:create",
"destroy": "apps:destroy",
"info": "apps:info",
"login": "auth:login",
"logout": "auth:logout",
"logs": "apps:logs",
"open": "apps:open",
"passwd": "auth:passwd",
"pull": "builds:create",
"register": "auth:register",
"rollback": "releases:rollback",
"run": "apps:run",
"scale": "ps:scale",
"sharing": "perms:list",
"sharing:list": "perms:list",
"sharing:add": "perms:create",
"sharing:remove": "perms:delete",
"whoami": "auth:whoami",
}