forked from toolshed/abra
		
	fix: handle StackName/AppName correctly for new app creation
This commit is contained in:
		@ -165,7 +165,7 @@ func NewAction(c *cli.Context) error {
 | 
			
		||||
 | 
			
		||||
	tableCol := []string{"server", "type", "domain", "app name"}
 | 
			
		||||
	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.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()
 | 
			
		||||
	fmt.Println("")
 | 
			
		||||
	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("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("")
 | 
			
		||||
 | 
			
		||||
	return nil
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user