Conversation
SizeSlug as a format flag was supported but wasn't documented.
|
Ooop need to update some tests too, one sec |
|
Tests are failing because it now includes I can update the tests if this is not considered a breaking change? @andrewsomething |
|
Adding new columns isn't necessarily a breaking change. For scripting, we should be encouraging usage of the I wonder if there is some more general solution for non-default columns? There are a lot of commands that could benefit. The values shown in the help output come from here: doctl/commands/command_option.go Line 35 in 9282784 It might be as simple as: - c.fmtCols = d.Cols()
+ c.fmtCols = maps.Keys(d.ColMap())Though we need to check that the change doesn't have any undesired side effects. |
Includes SizeSlug as a format flag in help docs: