@omni-door/cli
v3.2.2
Published
A tool set for set up the standard JS project
Readme
🐸 @omni-door/cli
https://www.omnidoor.org
A CLI for scaffolding standard frontend projects and running common dev/build/release tasks.
English | 简体中文
Requirements
- Node.js >= 10.13.0 (latest LTS recommended)
Installation
- Clone:
[email protected]: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
Quick Start
omni initCommands
Run omni --help for the full option list.
omni init [strategy]scaffold a project (stable or latest)omni devstart the development serveromni startstart the production serveromni new [name]create a component/templateomni buildbuild the project based onomni.config.jsomni releasepublish the project based onomni.config.js
Pass-through args are supported for dev, start, and build:
omni dev -- --webpack
omni start -- --hostname 0.0.0.0
omni build -- --webpackConfiguration
See the omni.config.js reference: docs/OMNI.md
Docs
- API/Plugin docs: docs/DEV.md
- Changelog: docs/CHANGELOG.md
License
Copyright (c) 2019 Bobby.li
Released under the MIT License
