5.0.0 • Published 2 years ago

@vinodotdev/codegen v5.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Vino codegen

This is the core code generator for Vino components and providers.

Installation

$ npm install -g @vinodotdev/codegen

Usage

Run vino-codegen --help to get a list of languages available to generate. Use --help on any of the languages to dive further, e.g.:

$ vino-codegen rust --help
vino-codegen rust

Generate Rust code from a WIDL schema

Commands:
  vino-codegen rust interface <schema_dir> [options]             Generate source code for well-known interfaces
  vino-codegen rust provider-component <schema> [options]        Generate boilerplate for native provider components
  vino-codegen rust provider-integration <schema_dir> [options]  Generate the Vino integration code for all component schemas
  vino-codegen rust wapc-component <schema> [options]            Generate boilerplate for WaPC components
  vino-codegen rust wapc-integration <schema_dir> [options]      Generate the Vino & WaPC integration code for all component schemas
  vino-codegen rust wapc-lib                                     Generate the boilerplate lib.rs for WaPC components
  vino-codegen rust wellknown-implementer <interface> [options]  Generate the Vino integration code for well-known interface schemas

Options:
      --version  Show version number                                                                                                           [boolean]
  -h, --help     Show help                                                                                                                     [boolean]

Testing and debugging

Run tests via

$ npm run tests

Tests for the generated code are accounted for in downstream consumers but this repository should have some baseline tests. THis would be a great first issue for anyone interested.

5.0.0

2 years ago

4.0.0

2 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago