just-cli
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

just-cli

Just a simple CLI.

Installation

$ yarn global add just-cli

Get Started

Add template

$ just add
# template name: 
# branch(master): 
# git: 
 
# or 
$ just add -n <template name> -b <branch name> -g <git URL>

Example:

$ just add -n npm -b master -g https://github.com/dabanlee/npmkit.git

Template added:

{
    "npm": {
        "branch": "master",
        "git": "https://github.com/dabanlee/npmkit.git"
    }
}

Then:

$ just init <template-name> <project-name>
cd <project-name>
$ yarn
$ yarn start

Usage

Usage: just <command>
 
  VERSION: 2.0.0
 
  USAGE:
    $ just init       Initialize a new project
    $ just add        Add template
    $ just list       List the templates file
    $ just remove     Remove template
 
  OPTIONS:
    -h, --help        Show usage message
    -v, --version     Show the current version number

License

Licensed under the MIT License

/just-cli/

    Package Sidebar

    Install

    npm i just-cli

    Weekly Downloads

    13

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    26.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • justclear