We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3551dc4 commit c6a4b9aCopy full SHA for c6a4b9a
1 file changed
internal/commands/server/list.go
@@ -34,12 +34,15 @@ func (s *listCommand) ExecuteWithoutArguments(exec commands.Executor) (output.Ou
34
memory := s.MemoryAmount / 1024
35
plan = fmt.Sprintf("%dxCPU-%dGB (custom)", s.CoreNumber, memory)
36
}
37
+
38
+ coloredState := commands.ServerStateColour(s.State).Sprint(s.State)
39
40
rows = append(rows, output.TableRow{
41
s.UUID,
42
s.Hostname,
43
plan,
44
s.Zone,
- s.State,
45
+ coloredState,
46
})
47
48
0 commit comments