Usage:
server [flags]
Flags:
--addr string server address (default "0.0.0.0:9797")
--api string api address (default "127.0.0.1:9799")
-h, --help help for server
--token string api token
-v, --version version for server
Client
Usage:
client [flags]
client [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
service Run as a service
Flags:
--addr string server address (default "127.0.0.1:9797")
--dns string dns server (default "8.8.8.8")
-h, --help help for client
--key string auth key
--tasks string tasks json string (default "[]")
-v, --version version for client
Use "client [command] --help" for more information about a command.
Usage:
client service [flags]
client service [command]
Available Commands:
install Install the service
reinstall Reinstall the service
restart Restart the service
start Start the service
status Get the service status
stop Stop the service
uninstall Uninstall the service
Flags:
-h, --help help for service
--user run as current user, not root
Global Flags:
--addr string server address (default "127.0.0.1:9797")
--dns string dns server (default "8.8.8.8")
--key string auth key
--tasks string tasks json string (default "[]")
Use "client service [command] --help" for more information about a command.
stc service --user install --addr 127.0.0.1:9797 --key fb9a318168714565993f75b97e6af907
stc service --user start
stc service --user stop
stc service --user uninstall