Describe the request
Add first set of specific commands to edit the sketch.yaml project file using the CLI.
arduino-cli profile init [-m <PROFILE_NAME>] [-b <FQBN>]
arduino-cli profile lib add [-m <PROFILE_NAME>] <LIB_NAME@VERSION>
arduino-cli profile lib remove [-m <PROFILE_NAME>] <LIB_NAME@VERSION>
arduino-cli profile set-default <PROFILE_NAME>
arduino-cli profile dump
Features:
arduino-cli profile init [-m <PROFILE_NAME>] [-b <FQBN>]
- creates a
sketch.yaml file if it does not exist
- optionally adds a new profile with the specified <PROFILE_NAME> and . It automatically adds the platform related to the FQBN if it is installed locally or can be retrieved using the Cloud Api, otherwise it returns a message to the user. If a profile with <PROFILE_NAME>, it notifies the user
- it checks the current directory by default
arduino-cli profile lib add [-m <PROFILE_NAME>] <LIB_NAME@VERSION>
- if a default_profile is set, the operation is executed on that profile
arduino-cli profile lib remove [-m <PROFILE_NAME>] <LIB_NAME@VERSION>
- if a default_profile is set, the operation is executed on that profile
arduino-cli profile set-default <PROFILE_NAME>
- sets <PROFILE_NAME> as the default profile
arduino-cli profile dump
- prints the content of the sketch.yaml file
Describe the current behavior
All the operations on the sketch.yaml project file must be done manually.
Arduino CLI version
nightly
Operating system
N/A
Operating system version
N/A
Additional context
No response
Issue checklist
Describe the request
Add first set of specific commands to edit the
sketch.yamlproject file using the CLI.arduino-cli profile init [-m <PROFILE_NAME>] [-b <FQBN>]arduino-cli profile lib add [-m <PROFILE_NAME>] <LIB_NAME@VERSION>arduino-cli profile lib remove [-m <PROFILE_NAME>] <LIB_NAME@VERSION>arduino-cli profile set-default <PROFILE_NAME>arduino-cli profile dumpFeatures:
arduino-cli profile init [-m <PROFILE_NAME>] [-b <FQBN>]sketch.yamlfile if it does not existarduino-cli profile lib add [-m <PROFILE_NAME>] <LIB_NAME@VERSION>arduino-cli profile lib remove [-m <PROFILE_NAME>] <LIB_NAME@VERSION>arduino-cli profile set-default <PROFILE_NAME>arduino-cli profile dumpDescribe the current behavior
All the operations on the
sketch.yamlproject file must be done manually.Arduino CLI version
nightly
Operating system
N/A
Operating system version
N/A
Additional context
No response
Issue checklist