Skip to content
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

Add stdout option in --output-format parameter #147

Open
dapineyro opened this issue Apr 5, 2023 · 1 comment
Open

Add stdout option in --output-format parameter #147

dapineyro opened this issue Apr 5, 2023 · 1 comment

Comments

@dapineyro
Copy link
Collaborator

Currently, cloudos job list, cloudos workflow list and cloudos project list offer two output format options: csv and json. It would be very helpful to add a third option stdout that sends the output to stdout in the form of a table. This way, it will be very easy to use grep or awk to do some filtering and pipe the result to a following command.
As alternative, stdout output could be in JSON format and jq could be used to filter the output.

@keiranmraine
Copy link

Agree with need for stdout to allow jq parsing. Recommend having --output-basename stdout override file use, leaving --output-format to handle formats (i.e. csv|json|table)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants