Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 763 Bytes

readme.md

File metadata and controls

28 lines (19 loc) · 763 Bytes

Zygo CLI

A simple wrapper around the zygo server API.

Installation

npm install zygo-cli -g

Usage

zygo [options] zygo.json

Options can be any of:

  • --serve/-s
    Spin up a server instance for the given zygo app. To override the port specified in zygo.json, use --port/-p.

  • --bundle/-b
    Manually bundle the given zygo app. To override the build directory specified in zygo.json, use --dir/-d.

  • --unbundle/-u
    Manually unbundle the given zygo app.

  • --setmode/-m
    Set the application environment. Accepts one of two parameters: dev[elopment] or prod[uction].

  • --init
    Walks through a basic zygo application setup.

  • --version/-v
    Outputs the current zygo-cli version.