0.1.2 • Published 6 years ago
@plrabbit/cli v0.1.2
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/cliCheck if you install it successfully.
pillar --version🆕 Creating a New Project
Just simply run:
pillar create project-nameThe create command has some options for the project initialization, you may find them by running:
pillar create --helpUsage: 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 informationTemplate(s)
| name | description |
|---|---|
| Vunt | Vue 2.x + Ant Design |
💡 Development
Clone this repository, then run
yarn installto install dependencies.Run create script to create a new project.
Please note that the project will be generated
_test-outputwhenprocess.env.NODE_ENV === 'development'.
yarn run create your-project-nameDO 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.