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

CLI commands with JSON output #4950

Closed
7 tasks
vholer opened this issue Jun 24, 2020 · 3 comments
Closed
7 tasks

CLI commands with JSON output #4950

vholer opened this issue Jun 24, 2020 · 3 comments

Comments

@vholer
Copy link
Contributor

vholer commented Jun 24, 2020

Description
CLI commands provide formated, CSV or XML output. Introduce JSON output --json to allow easy processing over jq etc.

Use case
Easier processing for people which are less familiar with xmllint.

Interface Changes
None. Just CLI tools, serialize XML content (1:1) as JSON.

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@al3xhh
Copy link
Contributor

al3xhh commented Jun 24, 2020

It would be nice to consider also yaml output.

@kvaps
Copy link
Contributor

kvaps commented Jun 24, 2020

Yeah, and also to replace OpenNebula specific template format by something more common: eg. JSON or YAML would be super cool!

@al3xhh
Copy link
Contributor

al3xhh commented Jun 25, 2020

PRs to merge in 5.12 and master:

@tinova tinova modified the milestones: Release 5.12.1, Release 5.12.2 Jul 8, 2020
@al3xhh al3xhh closed this as completed Jul 14, 2020
rsmontero pushed a commit that referenced this issue Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants