Skip to content

config file to accept command options #1229

Closed
@RalphCorderoy

Description

@RalphCorderoy

It's tedious writing --fqbn .... I have a arduino-cli.yaml in the current directory but it only accepts a few options. A cmd section could have have subsections for each subcommand and within those each would be a subcommand's option, e.g. cmd.compile.fqbn. This would allow per-sketch settings to be stored under Git unlike environment variables. And if a file is sourced to set the environment then forgetting to do it causes problems whereas the local arduino-cli.yaml is always present.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions