Skip to content

feat: allow --build-property for "upload", "monitor", etc. #2615

Closed
@egnor

Description

@egnor

(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 and monitor 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

  • 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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions