1.0.4 • Published 4 years ago
@l-lib/cli v1.0.4
l-lib
這是一個用於管理 github 倉庫的工具,透過設定檔案快速下載想要使用的模板
安裝
npm i -g @l-lib/cli使用
下載模板
l-lib create my-app預設只有一個 vue3 的模板
新增模板
l-lib add new-repo刪除模板
l-lib setup查看本地設置
l-lib ls修改設定檔
設定檔位於 ~/.l-lib/config.json
{
"path": {
"vue3-template": "https://github.com/louis61619/vue3-template"
}
}你可以加入新的倉庫模板,key 是自訂名稱,value 是倉庫地址,請寫在 path 中
you can use this cli tools to manage your template on github
Install
download repo
npm i -g @l-lib/cliadd new repo config
l-lib add new-reposee local config
l-lib lsremove local config
l-lib setupUsage
l-lib create my-appConfig
if you want to change setting, you can modify setting file in ~/.l-lib
{
"path": {
"vue3-template": "https://github.com/louis61619/vue3-template"
}
}repo setting in path, key is cutom name, value is repo path