It was originally planned to be named arrow cli. Unfortunately, it already exists in NPM, so it can only be named @ arrow-zb/cli。
This is a scaffold for quickly creating the front end project of Arrow. You can choose the basic template you need. It will download the corresponding template for you, making your development project more agile, simpler, and more time devoted to the business rather than the basic framework.
English | 简体中文
The latest LTS version of Node.js is recommended, or at least ensure node >= 8.0
There are serverl way to install it globally.
But it is recommended that you install it locally.
npm install @arrow-zb/cli -D
#or
yarn add @arrow-zb/cli -D
When you are going to use it to create a project, it will automatically detect whether the current version is the latest version.If not, it needs to be updated。
npm update @arrow-zb/cli -D --latest
# globally install
@arrow-zb/cli create <app-name>
# locally install
npx @arrow-zb/cli create <app-name>
@arrow-zb/cli -V