CLI
A handy CLI to manage PEON services remotely (as well as to provide extended access/control)
Installation
If not installed via installation script, the peon-cli can be installed manually.
- Download & copy the
peon-clifolder into your preferred path. - Create a folder/file
./config/peon_dirin the root path of thepeon-cliscripts folder. - Input the full path of the
peoninstallation directory (e.g./home/myuser/peon) into thepeon_dirfile in thepeon-cliscripts folder. - Add your
peon-cliscript folder to your path (if you wish)
Usage
Interactive mode
The peon cli offers an interactive mode for administration services
Just run ./peon
Non-Interactive mode
Some standard peon-cli tools can be executed programmatically using flags.
Just run ./peon [flags]
Supported Flags
-h|--help Display this (H)elp information.
-t|--status S(t)atus of all containers
-l|--list (L)ist running GAME containers.
-m|--metrics Performance statistics/(M)etrics for ALL running containers.
-c|--capacity Show storage space & (C)apacity usage for all docker components.
-u|--update (U)pdates infrastrcture containers.
-d|--redeploy Re(d)eploy the infrastructure containers.
-s|--start (S)tarts infrastrcture conatiners.
-p|--stop Sto(p)s infrastrcture containers.
-r|--restart (R)estarts infrastrcture containers.
-k|--kill (K)ill ALL running containers.
Roadmap
Here you can see what the future holds.
Release Notes
1.0.0
- CHANGE
Removed
peon_dirfile from build.