fix: use domain to follow original abra app ls

This commit is contained in:
decentral1se 2021-07-26 19:49:51 +02:00
parent 5def18a9af
commit 145e6326c9
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 2 deletions

View File

@ -60,11 +60,11 @@ var appListCommand = &cli.Command{
}
apps, err := config.GetApps(appFiles)
sort.Sort(config.ByServerAndType(apps))
tableCol := []string{"Server", "Type", "Name"}
tableCol := []string{"Server", "Type", "Domain"}
table := createTable(tableCol)
table.SetAutoMergeCellsByColumnIndex([]int{0})
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()
return nil