No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
dist
src
.gitignore
LICENSE
README.md
package.json

README.md

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 vue-component@1.1.2
// 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