https://www.omnidoor.org
A CLI for scaffolding standard frontend projects and running common dev/build/release tasks.


English | 简体中文
- Node.js >= 10.13.0 (latest LTS recommended)
- Clone:
git@github.com:omni-door/cli.git
- npm:
npm install @omni-door/cli -g
- Yarn:
yarn global add @omni-door/cli
- npx (no install):
npx @omni-door/cli init
Run omni --help for the full option list.
omni init [strategy] scaffold a project (stable or latest)
omni dev start the development server
omni start start the production server
omni new [name] create a component/template
omni build build the project based on omni.config.js
omni release publish the project based on omni.config.js
Pass-through args are supported for dev, start, and build:
omni dev -- --webpack
omni start -- --hostname 0.0.0.0
omni build -- --webpack
See the omni.config.js reference: docs/OMNI.md
Copyright (c) 2019 Bobby.li
Released under the MIT License