0.0.3 • Published 3 years ago

zcool-cli v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

zcool-cli

一个简单的模版生成器。

使用

下载一个模版到指定目录。

$ npx zcool-cli [template] <project>

可用模版

获取可用模版。

$ npx zcool-cli ls

例子

使用 zcued 中的模版。默认 zcued/template-${name}

$ npx zcool-cli manager demo

使用具体的仓库。${owner}/${name}

$ npx zcool-cli zcued/template-manager demo

使用具体的分支。默认使用 main

$ npx zcool-cli manager#main demo

使用 http 链接下载 zip。

$ npx zcool-cli https://github.com/zcued/template-manager/archive/main.zip demo

使用本地模版。

$ npx zcool-cli ./manager demo