A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/koahubjs/koahub-cli below:

GitHub - koahubjs/koahub-cli: KoaHub CLI -

KoaHub CLI -- KoaHub.js的开发工具,自动Babel编译 ES6/7(Generator Function, Class, Async & Await)并且文件修改后自动重启。

  1. ​自动重启
  2. 自动Babel编译
  3. 自动创建控制器
  4. 自动创建koahub项目
  5. 支持全局命令行
  6. 支持模块启动
  7. ...
require('koahub-cli').run('start app/index.js --watch --compile');
//安装全局命令
npm install koahubjs/koahub-cli -g
//快速创建项目
koahub create koahub-demo
//进入项目
cd koahub-demo
//安装依赖
npm install
//启动项目
npm start
//安装:npm install koahubjs/koahub-cli -g
//使用:
koahub

Usage: koahub [options] [command]

Commands:

start [options] [script]  koahub start script --watch --compile
controller [name]         koahub create controller
create [project]          koahub create project

Options:

-h, --help     output usage information
-V, --version  output the version number

Examples:

koahub start app/index.js --watch --compile --runtime runtime (文件修改自动编译到runtime并且重启)
koahub controller app/controller/home/index (自动创建控制器模版)
koahub create koahub-demo (自动初始化项目)

KoaHub.js框架

KoaHub.js官网


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4