Skip to content

[proposal] Please provide us a JSON schema for the new arduino-cli.yaml config file #587

Closed
@kittaakos

Description

@kittaakos

Feature request

Current behavior

The new arduino-cli.yaml config file, the new Settings API everything works perfectly 💪, however, I am missing the JSON schema for the configuration file. As a consumer of the CLI, I want to programmatically validate the config file before I use it.

As a start, the actual JSON schema could be released with the CLI, inside the archive. Once it gets rock solid, perhaps it could be published to http://schemastore.org/json/.

Expected behavior

Environment

  • CLI version (output of arduino-cli version):
  • OS and platform:

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions