-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI feature request: Allow custom output on ls
commands.
#331
Comments
@kaihoffman I'm guessing the |
@abs007 not just instance, but every command that has a |
So, I see the |
Being able to filter based on a switch, to only output the requested field rather than all fields. |
Sorry to be repeating the same question again but isnt that already implemented for Can @alejandrojnm or @uzaxirr confirm? |
You're right, @abs007 . It does have the ability to output custom fields in $ civo firewall ls -o custom -f id
80e453e8-edfa-4b67-8135-a3d5095f16bc
f6beace9-8196-42f3-9c23-aae9ca0d087c
... However, the help text command does not output correctly: civo firewall ls -o custom -f "ID: Name"
ID: Name
ID: Name
... In fact, you can chain custom output of fields, but you have to use the correct syntax (lower case $ civo firewall ls -o custom -f "id, network, name"
f6beace9-8196-42f3-9c23-aae9ca0d087c, Default, foobar
... I guess we would need the help text corrected, and the CLI to parse the downcasing of output columns if not provided in lowercase. |
Going by Andy's req and what you mentioned above, what's needed is:
Please correct me if Im wrong |
Another one from @andyjeffries:
You can already filter to custom fields on the
show
command but might be useful onls
too?The text was updated successfully, but these errors were encountered: