diff --git a/cli/app.go b/cli/app.go index c6b9c097..53018c44 100644 --- a/cli/app.go +++ b/cli/app.go @@ -64,7 +64,10 @@ var appListCommand = &cli.Command{ table := createTable(tableCol) table.SetAutoMergeCellsByColumnIndex([]int{0}) for _, app := range apps { - table.Append([]string{app.File.Server, app.Type, app.Domain}) + if app.Type == Type || Type == "" { + // If type flag is set, check for it, if not, Type == "" + table.Append([]string{app.File.Server, app.Type, app.Domain}) + } } table.Render() return nil