tiny-engine/packages/engine-cli
chilingling 48cd8f554e
feat: add simple plugin template (#615)
* feat: add simple plugin template

* fix: change by code review

* fix: includes template and bind file to npm
2024-06-30 19:08:49 +08:00
..
bin feat(cli): add build script & update template (#582) 2024-06-18 19:56:01 +08:00
src feat: add simple plugin template (#615) 2024-06-30 19:08:49 +08:00
template feat: add simple plugin template (#615) 2024-06-30 19:08:49 +08:00
.npmrc feat(cli): add build script & update template (#582) 2024-06-18 19:56:01 +08:00
README.md feat: add simple plugin template (#615) 2024-06-30 19:08:49 +08:00
README.zh-CN.md feat: add simple plugin template (#615) 2024-06-30 19:08:49 +08:00
package.json feat: add simple plugin template (#615) 2024-06-30 19:08:49 +08:00

README.md

engine-cli

tiny-engine cli for create new designer/plugin/...

dev

npm run dev    # build in watch mode
npm run build  # build engine-cli
npm link       # after link, you can test engine-cli commands use: engine-cli create xxx

usage

create platform or plugin by prompt

# dynamic create platform or plugin by complete prompt
npx @opentiny/tiny-engine-cli@latest create

create a tiny-engine platform

npx @opentiny/tiny-engine-cli@latest create-platform my-designer

create a tiny-engine plugin

npx @opentiny/tiny-engine-cli@latest create-plugin my-plugin