fix: handle StackName/AppName correctly for new app creation
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
eed2756784
commit
10e4a8b97f
|
@ -165,7 +165,7 @@ func NewAction(c *cli.Context) error {
|
||||||
|
|
||||||
tableCol := []string{"server", "type", "domain", "app name"}
|
tableCol := []string{"server", "type", "domain", "app name"}
|
||||||
table := formatter.CreateTable(tableCol)
|
table := formatter.CreateTable(tableCol)
|
||||||
table.Append([]string{sanitisedAppName, Domain, recipe.Name, NewAppServer})
|
table.Append([]string{NewAppServer, recipe.Name, Domain, NewAppName})
|
||||||
|
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
fmt.Println(fmt.Sprintf("A new %s app has been created! Here is an overview:", recipe.Name))
|
fmt.Println(fmt.Sprintf("A new %s app has been created! Here is an overview:", recipe.Name))
|
||||||
|
@ -173,10 +173,10 @@ func NewAction(c *cli.Context) error {
|
||||||
table.Render()
|
table.Render()
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
fmt.Println("You can configure this app by running the following:")
|
fmt.Println("You can configure this app by running the following:")
|
||||||
fmt.Println(fmt.Sprintf("\n abra app config %s", sanitisedAppName))
|
fmt.Println(fmt.Sprintf("\n abra app config %s", NewAppName))
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
fmt.Println("You can deploy this app by running the following:")
|
fmt.Println("You can deploy this app by running the following:")
|
||||||
fmt.Println(fmt.Sprintf("\n abra app deploy %s", sanitisedAppName))
|
fmt.Println(fmt.Sprintf("\n abra app deploy %s", NewAppName))
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue