forked from toolshed/abra
feat: prototype for app listing
This commit is contained in:
@ -81,8 +81,7 @@ var appListCommand = &cli.Command{
|
||||
// If type flag is set, check for it, if not, Type == ""
|
||||
tableRow = []string{app.File.Server, app.Type, app.Domain}
|
||||
if Status {
|
||||
stackName := strings.ReplaceAll(app.Name, ".", "_")
|
||||
if status, ok := statuses[stackName]; ok {
|
||||
if status, ok := statuses[app.StackName()]; ok {
|
||||
tableRow = append(tableRow, status)
|
||||
} else {
|
||||
tableRow = append(tableRow, "unknown")
|
||||
|
Reference in New Issue
Block a user