feat: allow --build-property for "upload", "monitor", etc. #2615
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
(This is less important than #2602, and certainly less important than arduino/tooling-rfcs#9, if you're prioritizing.)
Describe the request
For
arduino-cli compile
, the--build-property
flag is an escape hatch for situations when you need to "hack" part of the platform/board definition for some reason or other (change a definition, etc).However, the
upload
andmonitor
commands also use build properties! Like, maybe you want to edit the uploader's command args a bit, or substitute in a different binary. But, these commands don't take--build-property
.(Arguably,
--build-property
should be global, though I'm not sure how the build properties framework interacts with the rest of the arduino-cli code base?)Describe the current behavior
There's no way to override properties for upload or monitor steps.
Arduino CLI version
arduino-cli Version: 0.35.3 Commit: 95cfd65 Date: 2024-02-19T13:24:24Z
Operating system
N/A
Operating system version
All
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: