Skip to content

[proposal] Release the proto files with the CLI #588

Closed
@kittaakos

Description

@kittaakos

Proposal

Current behavior

As a gRPC consumer of the CLI, I have to generate the JS/TS modules from the proto files. It would be nice to ship the releases with the proto files so that one can make sure the CLI is compatible with the gRPC API.

As a possible workaround for this limitation:

  • one can download the CLI,
  • run ./arduino-cli version,
  • parse the output:
./arduino-cli version
arduino-cli Version: 0.8.0 Commit: 64c501d
  • clone arduino/arduino-cli and checkout the 64c501d commit,
  • run the TS/JS generation from the proto files

Expected behavior

Environment

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

Additional context

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions