Just a simple CLI.
$ yarn global add just-cli
$ just add
$ # template name:
$ # branch(master):
$ # git:
# or
$ just add -n <template name> -b <branch name> -g <git URL>
Example:
$ just add -n vue-pages -b master -g https://github.com/JustClear/vue-pages.git
Template added:
{
"vue-pages": {
"branch": "master",
"git": "https://github.com/JustClear/vue-pages.git"
}
}
Then:
$ just init <template-name> <project-name>
$ cd <project-name>
$ yarn
$ yarn start
Usage: just <command>
Commands:
init|i Initialize a new project
list|l List the configuration file
add|a Add template
remove|r Remove template
Options:
-h, --help output usage information
-V, --version output the version number
Licensed under the MIT License