A simple CLI for creating your project.
npm install xr-cli -g
Open your terminal and type xr
or xr -h
, you'll see the help infomation below:
Usage: xr <command>
Commands:
add Add a new template
delete Delete a template
list List all the templates
init Generate a new project
Options:
-h, --help output usage information
-V, --version output the version number
Note that if you are using
MacOS
,sudo
was required while using commandsadd
anddelete
.
MIT.