A simple wrapper around the zygo server API.
npm install zygo-cli -g
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 inzygo.json
, use--port/-p
. -
--bundle/-b
Manually bundle the given zygo app. To override the build directory specified inzygo.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]
orprod[uction]
. -
--init
Walks through a basic zygo application setup. -
--version/-v
Outputs the current zygo-cli version.