Installation
npm install hetu-cli -g
or
git clone git@git-pd.megvii-inc.com:megvii-fe-lbg/hetu-cli.git
cd hetu-cli && npm install
npm link
Usage
Open your terminal and type hetu-cli
, you'll see the help infomation below:
Usage: hetu-cli <command> [option]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
create [options] <project-name> create a new project
config [options] [value] inspect and modify the config
help [command] display help for command
('-. .-. ('-. .-') _
( OO ) / _( OO) ( OO) )
,--. ,--.(,------./ '._ ,--. ,--.
| | | | | .---'|'--...__)| | | |
| .| | | | '--. .--'| | | .-')
| |(| '--. | | | |_|( OO )
| .-. | | .--' | | | | | `-' /
| | | | | `---. | | (' '-'(_.-'
`--' `--' `------' `--' `-----'
create
You can init a templates use this command
hetu-cli create xxx