abcli
v2.0.4
Published
本 CLI 工具提供了以下项目模板供初始化使用:
Downloads
25
Maintainers
Readme
啊彪 CLI 工具
本 CLI 工具提供了以下项目模板供初始化使用:
- 帧同步框架:用于游戏的帧同步框架。
- 啊彪敏感词库:包含超过 10 万个敏感词的过滤器。
- 啊彪常用工具方法:提供后端常用的工具方法。
安装和使用
在开始之前,请确保您已经安装了 Node.js。
全局安装
要使用啊彪 CLI 工具,您需要全局安装它。在命令行中运行以下命令:
npm install -g abcli
初始化项目模板
使用以下命令从模板初始化项目:
abcli init [project名称]
替换 [project名称]
为您希望创建的项目名称。
然后,根据命令行提示,选择要使用的项目模板。
项目模板
1. 帧同步框架
- 描述:用于游戏的帧同步框架
- 初始化成功提示:帧同步框架项目初始化成功!请执行以下命令进入项目:
cd [project] && npm install
tsc
node ./dist/app.js
2. 啊彪敏感词库
- 描述:包含超过 10 万个敏感词的过滤器
- 初始化成功提示:啊彪敏感词库项目初始化成功!请执行以下命令进入项目:
cd [project]
npm install
node index.js
3. 啊彪常用工具方法
- 描述:提供后端常用的工具方法
- 初始化成功提示:啊彪常用工具方法项目初始化成功!请执行以下命令进入项目:
cd [project]
npm install
- 这里可以根据需求添加其他命令
请注意,这些仓库链接可能需要您有相应的访问权限或克隆仓库前进行认证。
希望以上信息对您有所帮助