platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

[FEATURE] ability to add custom arguments to cli

Open fariouche opened this issue 1 year ago • 2 comments

What kind of issue is this?

  • [ ] Feature Request. Sometimes I want to create a target rule that can have an argument from the command line (like specify a key file etc)

Expected Results

Something like add_argument("--sign_key") and have it parsed using either the scons argument variable or a dedicated api

fariouche avatar Oct 30 '24 16:10 fariouche

A temporary solution https://docs.platformio.org/en/latest/scripting/examples/platformio_ini_custom_options.html

ivankravets avatar Dec 04 '24 11:12 ivankravets

yes, but this one is not in command line. I'm now using the -a option multiple times to pass arguments as a workaround

fariouche avatar Dec 04 '24 11:12 fariouche