Skip to content

Remove support for --format yaml #2585

Closed
@cmaglie

Description

@cmaglie

Describe the request

Remove support for output format yaml in the --format flag.

Rationale:

  • Support for YAML is not implemented in all commands, particularly commands with streaming output, or is poorly maintained/tested compared to the JSON output.
  • it complicates the code without any worthwhile benefit (especially outputting YAML requires specific struct-tagging or special libraries like sigs.k8s.io/yaml)

Describe the current behavior

N/A

Arduino CLI version

nightly

Operating system

N/A

Operating system version

N/A

Additional context

The original PR that introduced the feature is this one: #1600 but it seems that the requested feature was for another project using the feedback package as a library. This is no longer possible with the latest version of the Arduino CLI.

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions