@neon9lyph/tetris-cli
v1.0.3
Published
欢迎基于 Tetris 样板组件工程,开发适用于 Tetris 系统的组件
Readme
tetris-web-cli
Tetris component development CLI.
Usage
1. Initialize a component project
mkdir my-component
cd my-component
npx tetris-web-cli init2. Start local development
cd my-component
yarn start3. Publish
cd my-component
npx tetris-web-cli publishLocal CLI debugging on Windows
PowerShell / CMD:
node E:\workspace\my-tetris\tetris-cli\bin\tetris initGit Bash:
node E:/workspace/my-tetris/tetris-cli/bin/tetris initIn Git Bash, do not pass a Windows path with backslashes like E:\....
Bash treats \ as an escape character, so Node receives a broken path and
cannot find the CLI entry file.
