Weles/Docs

CLI command

weles worker

Read or manage the Weles executor through its authenticated worker API. WELES_WORKER_API_BASE with WELES_WORKER_TOKEN names it explicitly; otherwise Stado resolves weles-admission for consumer operator and the bearer is the token of the item playing the role echo-weles-api.

Purpose#

Read or manage the Weles executor through its authenticated worker API. WELES_WORKER_API_BASE with WELES_WORKER_TOKEN names it explicitly; otherwise Stado resolves weles-admission for consumer operator and the bearer is the token of the item playing the role echo-weles-api.

Invocation#

Usage
weles worker <status|version|start|stop|restart> [--json]

Options#

Options of weles worker
OptionEffect
--jsonPrint the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries.

Help#

`weles worker --help` prints these usage lines and never runs the command.