0.1.2 • Published 4 years ago

@plrabbit/cli v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Pillar-CLI

Scaffolding tool for web app development.

📦 Installation

Download and install Node.js, which including NPM.

Install pillar-cli globally in your machine. You may need administrator privileges to execute these commands.

npm install -g @plrabbit/cli

# OR

yarn global add @plrabbit/cli

Check if you install it successfully.

pillar --version

🆕 Creating a New Project

Just simply run:

pillar create project-name

The create command has some options for the project initialization, you may find them by running:

pillar create --help
Usage: create [options] <project-name>

create a new project

Options:
  -e, --no-depend  Skip dependencies installation
  -n, --no-git     Skip git initialization
  -h, --help       Output usage information

Template(s)

namedescription
VuntVue 2.x + Ant Design

‍💡 Development

  1. Clone this repository, then run yarn install to install dependencies.

  2. Run create script to create a new project.

Please note that the project will be generated _test-output when process.env.NODE_ENV === 'development'.

yarn run create your-project-name

DO NOT run node ./bin create xxx directly, otherwise the project will be generated in pillar-cli project root directory, which will cause some unknown problem.

✅ License

MIT license.