1.0.3 • Published 4 years ago
hht-cli v1.0.3
hht-cli
A Vue scaffold.
Installation
npm install hht-cli -gUsage
Open your terminal and type hht or hht -h , you'll see the help infomation below:
Usage: hht <command>
Commands:
list List all the templates
init Generate a new project
Options:
-h, --help output usage information
-V, --version output the version numberNote that if you are using
MacOS,sudowas required while using commandsaddanddelete.
demo
- hht list (Show all templates)
{
'vue2': 'haohaitao/vue-easy-template#main',
'mobile-vue2': 'haohaitao/vue-h5-template#vue-h5-template'
}- hht init vue2 test (Initialize a vue2 template named test)
- Wait for completion
License
MIT.