We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e683b87 commit 29b94cdCopy full SHA for 29b94cd
1 file changed
internal/commands/zone/list.go
@@ -34,12 +34,15 @@ func (s *listCommand) ExecuteWithoutArguments(exec commands.Executor) (output.Ou
34
})
35
}
36
37
- return output.Table{
38
- Columns: []output.TableColumn{
39
- {Key: "id", Header: "ID"},
40
- {Key: "description", Header: "Description"},
41
- {Key: "public", Header: "Public", Format: format.Boolean},
+ return output.MarshaledWithHumanOutput{
+ Value: zones,
+ Output: output.Table{
+ Columns: []output.TableColumn{
+ {Key: "id", Header: "ID"},
42
+ {Key: "description", Header: "Description"},
43
+ {Key: "public", Header: "Public", Format: format.Boolean},
44
+ },
45
+ Rows: rows,
46
},
- Rows: rows,
47
}, nil
48
0 commit comments