slw-tool-cli
v1.0.2
Published
时代智囊项目模板管理cli
Downloads
3
Readme
easyCli
一个快速上手的前端脚手架, 轻松创建项目模板, 实现 0 配置, 快速开发。
Features
- 支持多类型项目模板(目前Node, Vue CSR), 模板都会集成代码扫描, 工作流等, 具体查看模板 github 地址。
- 支持添加项目模板, 删除项目模板(flok 作为自己的工具推荐使用)
- 支持自动检测脚手架更新
Installation & Quick start
安装
Windows 系统安装
$ npm i slw-tool-cli -g
Mac 下安装
$ sudo npm i slw-tool-cli -g
查看帮助信息
$ easy
创建项目
# 指定项目名字创建项目
$ easy create 模板名<template-name> 项目名字<project-name>
# 在当前目录创建项目
$ easy create 模板名<template-name> .
查看所有支持的项目模板
$ easy list
添加项目模板
$ easy add 模板名<template-name> 模板github仓库地址,支持ssh/https格式<git-repo-address>
删除项目模板
$ easy delete 模板名<template-name>
发布到 npm
执行 pkg 下的脚本, 自动发版并且生成 changelog, travis 就会执行检测后续自动发到 npm.
npm run release
Changelog
TODOLIST
- 优化 Node 应用模板
- 优化 Vue 应用模板
- 添加单测