zicode v0.0.13
zicode
zicode cli
Usage
$ npm install -g zicode
$ zicode COMMAND
running command...
$ zicode (-v|--version|version)
zicode/0.0.13 darwin-x64 node-v10.16.3
$ zicode --help [COMMAND]
USAGE
$ zicode COMMAND
...Commands
zicode appzicode app:restartzicode app:startzicode app:statuszicode app:stopzicode basezicode base:buildzicode base:pull FRAMEWORKzicode base:pushzicode connectzicode connect:start [TARGET]zicode connect:statuszicode connect:stopzicode cronzicode cron:build [FILE]zicode cron:startzicode cron:statuszicode cron:stopzicode dbzicode db:createzicode db:exec COMMANDzicode db:logszicode db:sqlzicode db:startzicode db:statuszicode db:stopzicode dockerzicode docker:execzicode docker:leader ADDRESSzicode docker:logoutzicode docker:restartzicode docker:startzicode docker:stopzicode envzicode frameworkzicode framework:buildzicode framework:installzicode help [COMMAND]zicode languagezicode language:deletezicode language:installzicode lessonzicode lesson:buildzicode lesson:cleanzicode lesson:cloud9 INSTANCE USER PASSWORDzicode lesson:composezicode lesson:container INSTANCE SERVICEzicode lesson:delete INSTANCEzicode lesson:exec INSTANCE SERVICE [COMMAND]zicode lesson:installzicode lesson:listzicode lesson:pull FRAMEWORK LESSON INSTANCEzicode lesson:pushzicode lesson:start INSTANCE PORTzicode lesson:status INSTANCEzicode lesson:stop INSTANCEzicode lesson:sync INSTANCE SERVICE PORTzicode metricszicode monitorzicode monitor:startzicode monitor:statuszicode monitor:stop [FILE]zicode networkzicode network:startzicode network:stopzicode proxyzicode proxy:bashzicode proxy:build [FILE]zicode proxy:exec COMMANDzicode proxy:restartzicode proxy:startzicode proxy:statuszicode proxy:stopzicode registryzicode registry:labelzicode registry:loginzicode registry:logszicode registry:startzicode registry:statuszicode registry:stopzicode secretzicode secret:create NAMEzicode secret:listzicode userzicode user:activate [FILE]zicode user:add EMAILzicode user:delete EMAILzicode user:listzicode user:paswd EMAIL PASSWORDzicode user:reset [FILE]zicode user:suspend [FILE]zicode webzicode web:bashzicode web:build [FILE]zicode web:convolute [TARGET]zicode web:exec COMMANDzicode web:logszicode web:migratezicode web:pushzicode web:startzicode web:statuszicode web:stopzicode web:tagzicode web:tinkerzicode workbenchzicode workbench:bashzicode workbench:build [FILE]zicode workbench:dockerzicode workbench:execzicode workbench:startzicode workbench:statuszicode workbench:stop
zicode app
Sub-Command to control the ZiCode App
USAGE
$ zicode app
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode app:restart
Restart the zicode stack
USAGE
$ zicode app:restart
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode app:start
Deploy zicode to a docker swarm
USAGE
$ zicode app:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --identity=identity identity file to use while convoluting
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--compose=compose use an extra compose file
--convolute convolute the web service after starting it
--[no-]deploy the actual deployment
--[no-]newline separate output with new line instead of space
--repo=repo repository prefix for images in compose.yml
--target=target convolution targer (default: docker@docker.zisoftonline.com)
--[no-]update update the stack if it is already running
--url=url use a custom health check address (default: ui.zisoftonline.com/app)
--[no-]wait wait for the app to come upzicode app:status
Show status of web service on docker swarm
USAGE
$ zicode app:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode app:stop
Undeploy zicode from a docker swarm
USAGE
$ zicode app:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
-w, --wait do not wait for stack to shutdown
--[no-]newline separate output with new line instead of spacezicode base
Sub-Command to control base images
USAGE
$ zicode base
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode base:build
Build a base image
USAGE
$ zicode base:build
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use cahce for docker builds
--[no-]newline separate output with new line instead of space
--push push after building
--recursive build parent images firstzicode base:pull FRAMEWORK
Pull a base
USAGE
$ zicode base:pull FRAMEWORK
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-f, --force delete and reclone if it already exists
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode base:push
Push a base image
USAGE
$ zicode base:push
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode connect
Sub-Command to control SSH connection to docker swarm
USAGE
$ zicode connect
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode connect:start [TARGET]
Start SSH Tunnel from localhost:2374 to docker engine (defaults to docker@docker.zisoftonline.com) and give me a shell
USAGE
$ zicode connect:start [TARGET]
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --identity=identity ssh private key file
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]close close the tunnel when bash exists
--interactive give me a bash
--[no-]newline separate output with new line instead of space
--[no-]strict strict host key checking
--[no-]tunnel open an ssh tunnel from localhost:2374 to docker engine (defaults to ' +
docker@docker.zisoftonline.com if no target is specified)zicode connect:status
Show status of SSH connection
USAGE
$ zicode connect:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode connect:stop
Stop SSH Tunnel from localhost:2374
USAGE
$ zicode connect:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space
--[no-]posix use POSIX style for pszicode cron
Sub-Command to control the cron module
USAGE
$ zicode cron
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode cron:build [FILE]
build the cron module
USAGE
$ zicode cron:build [FILE]
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use docker cache
--[no-]newline separate output with new line instead of space
--path=path override the default path module/cronzicode cron:start
start the cron module
USAGE
$ zicode cron:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space
--registry use the zicode registryzicode cron:status
status of the cron service
USAGE
$ zicode cron:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode cron:stop
stop the cron service
USAGE
$ zicode cron:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode db
Sub-Command to control zicode database
USAGE
$ zicode db
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode db:create
Create the zicode db
USAGE
$ zicode db:create
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--docker the database is running inside the zicode swarm stack
--[no-]newline separate output with new line instead of spacezicode db:exec COMMAND
docker exec into db container
USAGE
$ zicode db:exec COMMAND
ARGUMENTS
COMMAND the command to execute inside the container
OPTIONS
-d, --daemon exec command with -d option (run as daemon)
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --interactive
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-t, --tty
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode db:logs
Display DB docker service logs
USAGE
$ zicode db:logs
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-f, --follow
-h, --help print this help
-n, --num=num number of log lines to show
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode db:sql
sql into db container
USAGE
$ zicode db:sql
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode db:start
Start the db module
USAGE
$ zicode db:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space
--port=port [default: 3306] use a specific publish port
--publish publish the db port
--registry use the zicode registry
DESCRIPTION
The Database will use the following environment variables
DB_USERNAME_USER,
DB_DATABASE,
DB_PASSWORD,
DB_ROOT_PASSWORDzicode db:status
Show status of zicode database
USAGE
$ zicode db:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode db:stop
stop the db service
USAGE
$ zicode db:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker
Sub-Command to control docker
USAGE
$ zicode docker
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker:exec
Execute a command on the DIND container (only works from inside the swarm)
USAGE
$ zicode docker:exec
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker:leader ADDRESS
Find the first swarm leader (only works from outside the swarm)
USAGE
$ zicode docker:leader ADDRESS
ARGUMENTS
ADDRESS (ip|name) [default: name] type of address to print
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker:logout
logout to docker registry (only works from inside the swarm)
USAGE
$ zicode docker:logout
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker:restart
Restart the DIND container (only works from outside the swarm)
USAGE
$ zicode docker:restart
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker:start
Start the DIND container (only works from outside the swarm)
USAGE
$ zicode docker:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode docker:stop
Stop the DIND container (only works from outside the swarm)
USAGE
$ zicode docker:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode env
Show environment variables and application constants
USAGE
$ zicode env
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode framework
Sub-Command to control frameworks
USAGE
$ zicode framework
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode framework:build
Build a base image
USAGE
$ zicode framework:build
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use cahce for docker builds
--[no-]newline separate output with new line instead of space
--push push after buildingzicode framework:install
Install a framework from inside the web container to the connected DB
USAGE
$ zicode framework:install
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode help [COMMAND]
display help for zicode
USAGE
$ zicode help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLISee code: @oclif/plugin-help
zicode language
Sub-Command to control Languages
USAGE
$ zicode language
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode language:delete
Install a framework from inside the web container to the connected DB
USAGE
$ zicode language:delete
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode language:install
Install a framework from inside the web container to the connected DB
USAGE
$ zicode language:install
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson
Sub-Command to control lessons
USAGE
$ zicode lesson
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:build
Build a lesson
USAGE
$ zicode lesson:build
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use cahce for docker builds
--[no-]newline separate output with new line instead of space
--[no-]panic panic with the first build error
--push push after building
--recursive build parent images firstzicode lesson:clean
Clean a lesson directory
USAGE
$ zicode lesson:clean
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:cloud9 INSTANCE USER PASSWORD
Start the cloud9 server in a lesson
USAGE
$ zicode lesson:cloud9 INSTANCE USER PASSWORD
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:compose
Build a lesson
USAGE
$ zicode lesson:compose
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use cahce for docker builds
--[no-]newline separate output with new line instead of spacezicode lesson:container INSTANCE SERVICE
Get container id of a lesson
USAGE
$ zicode lesson:container INSTANCE SERVICE
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:delete INSTANCE
delete a lesson instance
USAGE
$ zicode lesson:delete INSTANCE
OPTIONS
-d, --del delete the instance directory
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:exec INSTANCE SERVICE [COMMAND]
Docker exec into a lesson container
USAGE
$ zicode lesson:exec INSTANCE SERVICE [COMMAND]
ARGUMENTS
INSTANCE
SERVICE
COMMAND command to execute (defaults to sh)
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --interactive
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-t, --tty
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:install
Install a lesson from inside the web container to the connected DB
USAGE
$ zicode lesson:install
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:list
delete a lesson instance
USAGE
$ zicode lesson:list
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:pull FRAMEWORK LESSON INSTANCE
Pull a lesson
USAGE
$ zicode lesson:pull FRAMEWORK LESSON INSTANCE
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-f, --force delete and reclone if it already exists
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:push
Push a lesson
USAGE
$ zicode lesson:push
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:start INSTANCE PORT
Start a lesson
USAGE
$ zicode lesson:start INSTANCE PORT
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:status INSTANCE
Check status of a lesson
USAGE
$ zicode lesson:status INSTANCE
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:stop INSTANCE
Stop a lesson
USAGE
$ zicode lesson:stop INSTANCE
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode lesson:sync INSTANCE SERVICE PORT
Sync with a newly created lesson
USAGE
$ zicode lesson:sync INSTANCE SERVICE PORT
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode metrics
Sub-Command to control the metrics module
USAGE
$ zicode metrics
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode monitor
Sub-Command to control the swarm visualize service
USAGE
$ zicode monitor
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode monitor:start
Install the swarm visualization stack
USAGE
$ zicode monitor:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space
--registry use the zicode registryzicode monitor:status
status of the monitor service
USAGE
$ zicode monitor:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode monitor:stop [FILE]
describe the command here
USAGE
$ zicode monitor:stop [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to printzicode network
Sub-Command to control the ZiCode swarm network
USAGE
$ zicode network
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode network:start
Install the ZiCode swarm network
USAGE
$ zicode network:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode network:stop
Delete the ZiCode swarm network
USAGE
$ zicode network:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode proxy
Sub-Command to control the proxy module
USAGE
$ zicode proxy
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode proxy:bash
bash into proxy container
USAGE
$ zicode proxy:bash
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode proxy:build [FILE]
build the web module
USAGE
$ zicode proxy:build [FILE]
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use docker cache
--[no-]newline separate output with new line instead of space
--path=path override the default path module/proxyzicode proxy:exec COMMAND
docker exec into proxy container
USAGE
$ zicode proxy:exec COMMAND
ARGUMENTS
COMMAND the command to execute inside the proxy container
OPTIONS
-d, --daemon exec command with -d option (run as daemon)
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --interactive
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-t, --tty
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode proxy:restart
Restart the zicode stack
USAGE
$ zicode proxy:restart
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode proxy:start
start the proxy module
USAGE
$ zicode proxy:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]https publish an https port
--https-port=https-port [default: 443] use a custom https port (Default 80)
--[no-]newline separate output with new line instead of space
--port=port [default: 80] use a custom http port (Default 80)
--registry use the zicode registryzicode proxy:status
stop the proxy service
USAGE
$ zicode proxy:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode proxy:stop
stop the proxy service
USAGE
$ zicode proxy:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode registry
Sub-Command to control the swarm registry service
USAGE
$ zicode registry
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode registry:label
mark the current docker node with label registry=true
USAGE
$ zicode registry:label
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--delete delete the label instead of adding it
--force delete the storage volume if it already exists
--[no-]newline separate output with new line instead of space
--prune remove the storage volumezicode registry:login
login to docker registry (only works from inside the swarm)
USAGE
$ zicode registry:login
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode registry:logs
Display docker service logs
USAGE
$ zicode registry:logs
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--follow
--[no-]newline separate output with new line instead of space
--num=num [default: 10] number of log lines to showzicode registry:start
Install the swarm registry
USAGE
$ zicode registry:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode registry:status
status of the registry service
USAGE
$ zicode registry:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode registry:stop
Delete the swarm registry
USAGE
$ zicode registry:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode secret
Sub-Command to control secrets
USAGE
$ zicode secret
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode secret:create NAME
create application-specific docker secret
USAGE
$ zicode secret:create NAME
ARGUMENTS
NAME (base.domain|db.password|db.root.password|git.key|swarm.key|ssl.crt|ssl.ca|ssl.key|web.env|ssl.bundle) name of
the secret to add
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--all-env use all environment variable as value
--force remove the secret[s] if it already exists
--from-env=from-env use an environment variable as value
--from-file=from-file use a file as value
--line=line value of the secret from commandline
--[no-]newline separate output with new line instead of spacezicode secret:list
list all application-specific docker secrets
USAGE
$ zicode secret:list
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode user
Sub-Command to control users
USAGE
$ zicode user
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode user:activate [FILE]
describe the command here
USAGE
$ zicode user:activate [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to printzicode user:add EMAIL
create a zicode user
USAGE
$ zicode user:add EMAIL
OPTIONS
-a, --admin
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-p, --password=password
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode user:delete EMAIL
delete a zicode user
USAGE
$ zicode user:delete EMAIL
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode user:list
list users
USAGE
$ zicode user:list
OPTIONS
-h, --help show CLI helpzicode user:paswd EMAIL PASSWORD
create a zicode user
USAGE
$ zicode user:paswd EMAIL PASSWORD
OPTIONS
-h, --help show CLI helpzicode user:reset [FILE]
describe the command here
USAGE
$ zicode user:reset [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to printzicode user:suspend [FILE]
describe the command here
USAGE
$ zicode user:suspend [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to printzicode web
Sub-Command to control the web module
USAGE
$ zicode web
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:bash
bash into web container
USAGE
$ zicode web:bash
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:build [FILE]
build the web module
USAGE
$ zicode web:build [FILE]
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use docker cache
--[no-]cache-composer use composer cache
--[no-]newline separate output with new line instead of space
--path=path override the default path module/webzicode web:convolute [TARGET]
Start the SSH connection inside the web container
USAGE
$ zicode web:convolute [TARGET]
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --i=i
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:exec COMMAND
docker exec into web container
USAGE
$ zicode web:exec COMMAND
ARGUMENTS
COMMAND the command to execute inside the web container
OPTIONS
-d, --daemon exec command with -d option (run as daemon)
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --interactive
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-t, --tty
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:logs
Display docker service logs
USAGE
$ zicode web:logs
OPTIONS
-a, --app show app log files instead of stdout logs
-e, --dotenv=dotenv use .env file from a path
-f, --follow
-h, --help print this help
-n, --num=num number of log lines to show
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:migrate
migrate the connected db
USAGE
$ zicode web:migrate
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:push
Push the web docker images
USAGE
$ zicode web:push
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-t, --tagged
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:start
Start the web module
USAGE
$ zicode web:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]convolute convolute after startup
--[no-]newline separate output with new line instead of space
--registry use the zicode registry
DESCRIPTION
The web module will read configurations from the following secrets
zicode.base.domain,
zicode.db.password,
zicode.git.key,
zicode.swarm.key,
zicode.web.env.
Use `zicode secret` to create and list secretszicode web:status
Show status of web service on docker swarm
USAGE
$ zicode web:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:stop
stop the web service
USAGE
$ zicode web:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:tag
tag web image with the private repo
USAGE
$ zicode web:tag
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode web:tinker
tinker into web container
USAGE
$ zicode web:tinker
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space
--[no-]tty use -t with docker execzicode workbench
Sub-Command to control the workbench module
USAGE
$ zicode workbench
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode workbench:bash
bash into workbench container
USAGE
$ zicode workbench:bash
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode workbench:build [FILE]
build the workbench module
USAGE
$ zicode workbench:build [FILE]
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]cache use docker cache
--[no-]newline separate output with new line instead of space
--path=path override the default path module/workbenchzicode workbench:docker
DELETE ME! Execute a docker command in workbench connected to docker
USAGE
$ zicode workbench:docker
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space
--ttyzicode workbench:exec
docker exec into workbench container
USAGE
$ zicode workbench:exec
OPTIONS
-d, --daemon exec command with -d option (run as daemon)
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-i, --interactive
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-t, --tty
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode workbench:start
start the workbench module
USAGE
$ zicode workbench:start
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--manager deploy on a swarm manager
--[no-]newline separate output with new line instead of space
--registry use the zicode registryzicode workbench:status
stop the workbench service
USAGE
$ zicode workbench:status
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of spacezicode workbench:stop
stop the workbench service
USAGE
$ zicode workbench:stop
OPTIONS
-e, --dotenv=dotenv use .env file from a path
-h, --help print this help
-q, --[no-]quiet do not panic if you do not file an env file
-s, --silent shut up
-v, --verbose show debug info
--[no-]newline separate output with new line instead of space