forked from toolshed/abra
		
	fix: disable merging and rely on type being present
This commit is contained in:
		| @ -62,15 +62,10 @@ var appListCommand = &cli.Command{ | ||||
| 		sort.Sort(config.ByServer(apps)) | ||||
| 		tableCol := []string{"Server", "Type", "Name"} | ||||
| 		table := createTable(tableCol) | ||||
| 		table.SetAutoMergeCellsByColumnIndex([]int{0}) | ||||
| 		for _, app := range apps { | ||||
| 			if app.Type == Type || Type == "" { | ||||
| 				// If type flag is set, check for it, if not, Type == "" | ||||
| 				tableRow := []string{app.File.Server, app.Type, app.Name} | ||||
| 				table.Append(tableRow) | ||||
| 			} | ||||
|  | ||||
| 			table.Append([]string{app.File.Server, app.Type, app.Name}) | ||||
| 		} | ||||
| 		table.SetAutoMergeCells(true) | ||||
| 		table.Render() | ||||
| 		return nil | ||||
| 	}, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user