fix: use domain to follow original abra app ls
This commit is contained in:
parent
5def18a9af
commit
145e6326c9
|
@ -60,11 +60,11 @@ var appListCommand = &cli.Command{
|
||||||
}
|
}
|
||||||
apps, err := config.GetApps(appFiles)
|
apps, err := config.GetApps(appFiles)
|
||||||
sort.Sort(config.ByServerAndType(apps))
|
sort.Sort(config.ByServerAndType(apps))
|
||||||
tableCol := []string{"Server", "Type", "Name"}
|
tableCol := []string{"Server", "Type", "Domain"}
|
||||||
table := createTable(tableCol)
|
table := createTable(tableCol)
|
||||||
table.SetAutoMergeCellsByColumnIndex([]int{0})
|
table.SetAutoMergeCellsByColumnIndex([]int{0})
|
||||||
for _, app := range apps {
|
for _, app := range apps {
|
||||||
table.Append([]string{app.File.Server, app.Type, app.Name})
|
table.Append([]string{app.File.Server, app.Type, app.Domain})
|
||||||
}
|
}
|
||||||
table.Render()
|
table.Render()
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue