Component Development Kit Runner
This is the main entrypoint of the Component Development Kit (CDK). It contains logic to run commands in a CDK workspace.
$ node ./node_modules/yot-cdk-runner <command>
generate
Prompts the user to generate a new component based on a template.
$ node ./node_modules/yot-cdk-runner generate
build
Builds the component
$ node ./node_modules/yot-cdk-runner build <component-name> [options]
Arguments
ARGUMENT | DESCRIPTION | VALUE TYPE |
---|
<component-name> | The name of the component to build. | string |
Options
OPTION | DESCRIPTION | VALUE TYPE | DEFAULT |
---|
--zip | Compresses the build output into a zip-file. | boolean | false |
simulate
Builds the component and runs it inside the simulator.
$ node ./node_modules/yot-cdk-runner simulate <component-name>
Arguments
ARGUMENT | DESCRIPTION | VALUE TYPE |
---|
<component-name> | The name of the component to build. | string |