Weles/Docs

CLI command

weles tasks show

Read one task from the public task API (GET /api/v1/tasks/<id>) with the bearer of the item playing --role and print what it answered.

Purpose#

Read one task from the public task API (GET /api/v1/tasks/<id>) with the bearer of the item playing --role and print what it answered.

Invocation#

Usage
weles tasks show <task-id> (--consumer <consumer> | --endpoint <url>) --role <role> [--json]

Options#

Options of weles tasks show
OptionEffect
--consumertasks: the Stado consumer the caller is; the API is the route 'stado service directory connect weles-admission --consumer <consumer>' gives.
--endpointtasks: the public task API's address instead of a consumer's route.
--roletasks: the vault role whose item holds the bearer (token) and, for cancel, the organization (organization_id) the API admits.
--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 tasks show --help` prints these usage lines and never runs the command.