tis-cli前端项目快速搭建命令行工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
lkh fae5266192 feat: update 4 years ago
bin feat: update tips 4 years ago
node_modules feat: update 4 years ago
templates feat: add template 4 years ago
.gitignore feat: init tis-cli 4 years ago
README.md feat: add template 4 years ago
package-lock.json feat: 更新 4 years ago
package.json feat: 更新 4 years ago

README.md

Tis-Cli 快速生成项目模板工具

使用

  1. 先通过git下载项目到本地
git clone project_git_url
  1. 通过命令行进入到tis-cli项目根目录

执行npm link做本地全局命令的连接

执行完成这一步之后,才可以在全局环境下使用tis-cli命令

  1. 通过tis-cli创建项目
tis-cli create 项目名称

会有三个类型的模板供选择

  • 框架模板

  • 应用模板

  • 组件库模板

选择完成后,等待命令行执行完成成功之后,就会在创建的项目下面自动根据模板项目创建出新项目

全局卸载工具

通过命令行进入到tis-cli项目根目录,然后执行npm unlink即可从全局中卸载掉tis-cli工具命令

更新命令行工具

当前暂时使用git进行工具的代码更新,需要更新工具按照以下步骤执行即可:

通过git更新工具代码

git pull origin master