0.1.4 • Published 2 years ago
@neuledge/states-cli v0.1.4
Neuledge States CLI
A CLI tool for Neuledge Engine that can be used to generate TypeScript code from state files.
📦 Installation
npm install @neuledge/states-cli --save-dev🚀 Getting started
Add the following script to your package.json:
{
  "scripts": {
    "generate:states": "states --output \"src/states.codegen.ts\" \"states/*.states\""
  }
}Then, run the following command:
npm run generate:statesFor more information, please refer to the main repository.
📄 License
Neuledge is Apache 2.0 licensed.