Skip to content

[Request]: Add YAML output format option for CLI commands #1156

@manojmahapatra

Description

@manojmahapatra

Feature or enhancement request details

Currently, commands like container system version, container list, container image list, etc. support --format table and --format json.
Would it be worth adding --format yaml as an option?

Example output: container system version --format yaml:

yaml
- version: "0.9.0"
  buildType: release
  commit: abc1234
  appName: container
- version: "0.9.0"
  buildType: release
  commit: abc1234
  appName: API Server

If there's enough interest, I'd be happy to work on a proposal and implementation to add this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions