forked from toolshed/abra
fix: sort by server and type for app listing
This commit is contained in:
@ -59,7 +59,7 @@ var appListCommand = &cli.Command{
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
apps, err := config.GetApps(appFiles)
|
||||
sort.Sort(config.ByServer(apps))
|
||||
sort.Sort(config.ByServerAndType(apps))
|
||||
tableCol := []string{"Server", "Type", "Name"}
|
||||
table := createTable(tableCol)
|
||||
table.SetAutoMergeCellsByColumnIndex([]int{0})
|
||||
|
Reference in New Issue
Block a user