一个可自定义 git 仓库及分支的简单脚手架工具 —— just-cli

719 阅读1分钟

Just a simple CLI.

Installation

$ npm install -g just-cli

Get Started

$ just init <template-name> <project-name>

Example:

$ just init vue hello

The above command pulls the template from JustClear/just-vue(specify in configuration file), prompts for some information, and generates the project at ./hello/.

Usage

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