File tree Expand file tree Collapse file tree 4 files changed +10
-13
lines changed
Expand file tree Collapse file tree 4 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import (
99
1010const (
1111 Ping = "ping"
12- CreateAppVersion = "create-app- version"
13- PromoteAppVersion = "promote-app- version"
14- DeleteAppVersion = "delete-app- version"
15- CreateApp = "create- app"
16- UpdateApp = "update- app"
17- DeleteApp = "delete- app"
12+ CreateAppVersion = "version-create "
13+ PromoteAppVersion = "version-promote "
14+ DeleteAppVersion = "version-delete "
15+ CreateApp = "app-create "
16+ UpdateApp = "app-update "
17+ DeleteApp = "app-delete "
1818)
1919
2020const (
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ func GetCreateAppVersionCommand(appContext app.Context) components.Command {
143143 Name : commands .CreateAppVersion ,
144144 Description : "Create application version" ,
145145 Category : common .CategoryVersion ,
146- Aliases : []string {"cav " },
146+ Aliases : []string {"vc " },
147147 Arguments : []components.Argument {
148148 {
149149 Name : "version-name" ,
Original file line number Diff line number Diff line change @@ -55,15 +55,12 @@ func (dv *deleteAppVersionCommand) prepareAndRunCommand(ctx *components.Context)
5555}
5656
5757func GetDeleteAppVersionCommand (appContext app.Context ) components.Command {
58- cmd := & deleteAppVersionCommand {
59- versionService : appContext .GetVersionService (),
60- }
61- // TODO: app version commands are planned to be re-organized
58+ cmd := & deleteAppVersionCommand {versionService : appContext .GetVersionService ()}
6259 return components.Command {
6360 Name : commands .DeleteAppVersion ,
6461 Description : "Delete application version" ,
6562 Category : common .CategoryVersion ,
66- Aliases : []string {"dav " },
63+ Aliases : []string {"vd " },
6764 Arguments : []components.Argument {
6865 {
6966 Name : "application-key" ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ func GetPromoteAppVersionCommand(appContext app.Context) components.Command {
8080 Name : commands .PromoteAppVersion ,
8181 Description : "Promote application version" ,
8282 Category : common .CategoryVersion ,
83- Aliases : []string {"pav " },
83+ Aliases : []string {"vp " },
8484 Arguments : []components.Argument {
8585 {
8686 Name : "version-name" ,
You can’t perform that action at this time.
0 commit comments