Closed avorima closed 1 year ago
The --cols flag does not work for the following commands:
--cols
ionosctl server list
ionosctl volume list
ionosctl nic list
The input values are ignored and the default columns are always printed.
It could be broken for more commands.
The --cols flag limits the columns that are printed, e.g. --cols Name only prints resource names.
--cols Name
Ionosctl version:
IONOS Cloud CLI version: v6.5.0 SDK GO version: 6.1.3 SDK GO DBaaS Postgres version: 1.0.4 SDK GO Auth version: 1.0.5
OS:
Linux
Shell:
zsh
Compare the output of
ionosctl server list --cols Name --datacenter-id SOME_ID
with the output of
ionosctl datacenter list --cols Name
It seems that columns work for "global" resources, i.e. things that do not require an ID to list. I checked the following commands:
ionosctl pcc list
ionosctl datacenter list
ionosctl ipblock list
ionosctl image list
Hi, this should have been fixed already, can you re-check with the latest version (v6.5.2)?
Yes, you're right. Thanks
Description
The
--cols
flag does not work for the following commands:ionosctl server list
ionosctl volume list
ionosctl nic list
The input values are ignored and the default columns are always printed.
It could be broken for more commands.
Expected behavior
The
--cols
flag limits the columns that are printed, e.g.--cols Name
only prints resource names.Environment
Ionosctl version:
OS:
Shell:
Configuration Files
How to Reproduce
Compare the output of
with the output of
Additional Notes
It seems that columns work for "global" resources, i.e. things that do not require an ID to list. I checked the following commands:
ionosctl pcc list
ionosctl datacenter list
ionosctl ipblock list
ionosctl image list