feat: no column header when running metal capacity get
without any [--options]
#488
Labels
enhancement
New feature or request
metal capacity get
without any [--options]
#488
What problem are you facing?
The first table header is empty when running
metal capacity get
without any [--options].However, including an option will return all column headers, for example
metal capacity get -m sv
.Thoughts
So the first column has no context that ml1 or ld7 refer to the data centers. And if we put a header there, then I suggest "DC" rather than "METRO" (because a 'DC' header works whether it's a metro or a facility).
Steps To Recreate
metal capacity get
(the first column header will be empty)metal capacity get -m sv
(all column headers will be populated)How could the Equinix Metal CLI help solve this problem?
Perhaps leaving it empty was intended because
LocationField
in Line 92 refers to both Metros and Facilities, so as to avoid a metros/facilities header conflict in that first column (?).Notes
I confirmed that all other
get
commands have table headers, some examples from Docs:metal device get
metal event get
metal gateway get
metal hardware-reservation get
So
metal capacity get
seems to be the only column header that returns empty.Note
I submitted this as a feature instead of a bug because the empty header is not breaking anything.
CLI version (
metal --version
): metal version 0.24.0The text was updated successfully, but these errors were encountered: