← 全部工具

@adonisjs/cli

热度 65 更新于 开发与构建

Command line tool for Adonisjs

npmauto-collected

安装

npm
npm install -g @adonisjs/cli

通过 npm 安装。

AdonisJs Cli 🍺

Scaffolding tool for Adonisjs

Adonis cli is built on top of Adonis ace and helps you scaffold new Adonisjs projects.

Also it can proxy all the ace commands for a project, so that you can run them using the global adonis command.

<img src="http://res.cloudinary.com/adonisjs/image/upload/q100/v1497112678/adonis-purplepzkmzt.svg" width="200px" align="right" hspace="30px" vspace="100px"

Installation

You can install the package from npm.

npm i --global @adonisjs/cli

Usage

adonis new yardstick

# start http server
adonis serve --dev

Moving Forward

Checkout the official documentation at the AdonisJs website for more info.

Tests

Tests are written using japa. Run the following commands to run tests.

npm run test:local

# report coverage
npm run test

# on windows
npm run test:win

Release History

Checkout CHANGELOG.md file for release history.

Meta