arduino / arduino-cli

Arduino command line tool
https://arduino.github.io/arduino-cli/latest/
GNU General Public License v3.0
4.24k stars 370 forks source link

Remove support for `--format yaml` #2585

Closed cmaglie closed 2 months ago

cmaglie commented 2 months ago

Describe the request

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

Rationale:

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: https://github.com/arduino/arduino-cli/pull/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

aliphys commented 2 months ago

.yml files can be included alongside the sketch, which will act as sketch build profiles. This stores the platform and library versions in use, as described in https://arduino.github.io/arduino-cli/0.36/sketch-project-file/

Thanks!

cmaglie commented 2 months ago

Will this proposal deprecate the use of .yml files in this way?

No, sketch project files sketch.yml or configuration file arduino-cli.yaml will continue to work as always. This change request is relative ONLY to the --format yaml flag.