0.1.3 • Published 5 years ago

akos-cli v0.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Akos

Akos CLI

NPM Version Dependencies NPM Download

Install

npm install -g akos

Quick Start

Commands

  • akos help: Show help of all commands
  • akos -V, --version: Show the version of current CLI

  • akos init <project-name>: Initalize a akos project

  • akos start: Start server
    • -b, --open-browser: Open browser when start server
    • -B, --build: Build files in the beginning
    • -p, --port <port>: Web Server Port
  • akos dev: Start server with webpack dev middleware
    • -b, --open-browser: Open browser when start server
    • -p, --port <port>: WebpackDevServer port in dev mode

Configuration

{
    type: '',                       // Project type
    root: '',                       // Project root
    port: 8000,                     // Server port
    entry: '',                      // Server start entry
    controller: '',                 // Controller path
    routes: '',                     // Routes path
};