0.1.4 • Published 2 years ago

@neuledge/states-cli v0.1.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

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:states

For more information, please refer to the main repository.

📄 License

Neuledge is Apache 2.0 licensed.