-
Notifications
You must be signed in to change notification settings - Fork 5
Home
GorgearYang edited this page Aug 3, 2018
·
4 revisions
English | 中文
npm install honeycomb-cli -g
honeycomb init [-t template] [-s scope] [--registry registry] [directory]
-
template, app template, default issimple,consoleis also available -
scope, npm scope, you can specify npm scope to get private templates, e.g.-s @ali -
registry, npm registry, it will download packages from the default npm registry, if your network is slow, you can use npm mirrors likehttps://registry.npm.taobao.org -
directory, the folder which contains app files, default is the current folder
cd path/to/app
honeycomb start [-p port] [-o domain] [--inspect]
-
port, app's listen port, default is 8001 -
-o domain, open browser with the domain after app's started
cd path/to/app
honeycomb package [-env env]
-
env, load specific env config, default isproduction
// display config
honeycomb config KEY
// set config
honeycomb config KEY VALUE
- currently, only
registryconfig is supported
You can use honeycomb --help and honeycomb COMMAND --help to get full commands and full options.
✔️For Windows compatibility problem, please see honeycom-cli@beta