Skip to content

Feature request: compile --show-properties without a sketch #1047

Closed
@obra

Description

@obra

arduino-cli compile --show-properties currently won't run without an .ino file present. However, that appears to be a side effect of the fact that it's an option to compile

Using arduino-cli in my tooling, I often want to query board properties before locating a specific sketch. (This may be crazy.)

I -sort of- feel like --show-properties should be a sub-command of arduino-cli board, rather than compile. (And, if we're going there, I'd love it if there were a command like:

./bin/arduino-cli board get-property foo.bar --fqbn arduino:avr:leonardo

which would return the fully evaluated template for foo.bar.

Metadata

Metadata

Assignees

Labels

topic: CLIRelated to the command line interfacetype: enhancementProposed improvement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions