CLI

The command-line tool heiko is automatically added to path when installed through pip.

Help page for the CLI is given below. It can also be accessed using heiko --help.

CLI Help Page

Synopsis

heiko [-h] [-v] {start,stop,restart,list,init,logs} ...

Description

heiko is a lightweight load balancer to manage servers running on low-end hardware such as Raspberry Pis or mobile phones. This command-line tool of heiko lets you manage daemons. A heiko daemon runs a program on your configured nodes. Refer the quickstart section of the documentation for setting it up. Most subcommands of this tool require a –name argument which is a unique name for a daemon that you can specify.

Sub-Commands

heiko start [-h] –name NAME

Starts heiko daemon

heiko stop [-h] –name NAME

Stops heiko daemon

heiko restart [-h] –name NAME

Restarts heiko daemon

heiko list [-h]

lists all running heiko daemons

heiko init [-h] –name NAME

initialize and benchmark all nodes

heiko logs [-h] –name NAME [-f] [–clear]

view logs of a daemon