A code generation tool that produces TypeScript/JavaScript nice-grpc API bindings for the Arduino CLI from its proto files. Version 0.1.10 is the latest stable release with no recent updates (low release cadence). It supports multiple input sources: local proto folders, semver tags (downloading from GitHub releases), or GitHub repository references (branch, commit). The generated code uses nice-grpc and ts-proto, targeting Node.js environments. Key differentiator: automates a manual protobuf generation workflow specifically for Arduino CLI, avoiding the need to run protoc manually.
npm install ardunno-cli-genNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Generates nice-grpc API from Arduino CLI proto files for version 0.29.0, outputting to ./src-gen with overwrite enabled.
Install nice-grpc as a dependency: npm install nice-grpc
Use a local path, a semver string (e.g., '0.29.0'), or a GitHub ref in the format 'owner/repo#commit'.
Check if a newer version of ardunno-cli-gen updates the protoc version, or manually override using a local path to proto files.
Use named import: import { generate } from 'ardunno-cli-gen'Ensure the input source is correct: a valid local directory containing proto files, a valid semver, or a GitHub reference.