chef-cli
v1.2.6
Published
generator
Downloads
16
Readme
chef-cli
The chef cli is a project scaffold/template manager based on github
Install
- use npm
npm i -g chef-cli
- use yarn
yarn install -g chef-cli
chef registry
The chef cli default registry is chef-template. You can use the chef-template repos. If you have better solution for web development, please tell us.
- set registry
chef config set registry https://github.com/{owner}/
- get registry
chef config get registry
- delete registry
When delete the config registry, the default registry is chef-template
chef config delete registry
install project template
the version equal to the github repo tag version.
chef install vue-component // default install latest tag
chef install vue-component@latest // install latest tag
chef install [email protected]
// alias
chef i vue-component
init project
chef init vue-component your-project
check outdate
view the list of all installed project templates, check the version
chef outdate
uninstall
uninstall the template
chef uninstall vue-component
update
update the template to the latest
chef update vue-component