Task Info

Usage

hs task info [-h]

ID [--stdout | --stderr | -x FIELD] [-f FORMAT]

Description

Get metadata and/or task outputs.

Query for the full metadata on task by ID. Extract a specific field using -x/--extract.

Alternatively, dump the captured standard output or errors from the finished task (if captured). These files are written on the client host and synced with SFTP if necessary.


Arguments

ID

Unique task UUID.

Options

-f, --format FORMAT

Format task info ([normal], json, yaml).

--json

Format metadata output as JSON.

--yaml

Format metadata output as YAML.

-x, --extract FIELD

Print this field only (e.g., -x submit_time).

--stdout

Print <stdout> of task if captured, fetch from client if necessary.

--stderr

Print <stderr> of task if captured, fetch from client if necessary.