arduino-cli icon indicating copy to clipboard operation
arduino-cli copied to clipboard

[proposal] Release the `proto` files with the CLI

Open kittaakos opened this issue 5 years ago • 0 comments
trafficstars

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

kittaakos avatar Feb 19 '20 09:02 kittaakos