Get
Description
The bacalhau job get
command is used to get the results of the job, including stdout and stderr.
Usage
bacalhau job get [id] [flags]
Flags
--download-timeout-secs duration
:- Description: Timeout duration for IPFS downloads. (default 5m0s)
-h
,--help
:- Description: Display help for the
list
command.
- Description: Display help for the
output-dir string
:- Description: Directory to write the output to.
--raw
:- Description: Download raw result CIDs instead of merging multiple CIDs into a single result.
Global Flags
--api-host string
:- Description: Defines the host for client-server communication via REST. Overridden by the
BACALHAU_API_HOST
environment variable, if set. - Default:
bootstrap.production.bacalhau.org
- Description: Defines the host for client-server communication via REST. Overridden by the
--api-port int
:- Description: Sets the port for RESTful communication between the client and server. The
BACALHAU_API_PORT
environment variable takes precedence if set. - Default:
1234
- Description: Sets the port for RESTful communication between the client and server. The
--log-mode logging-mode
:- Description: Designates the desired log format. Options include
default
,station
,json
,combined
, andevent
. - Default:
default
- Description: Designates the desired log format. Options include
--repo string
:- Description: Points to the bacalhau repository location.
- Default:
$HOME/.bacalhau
Examples
-
Get the results of a job:
bacalhau job get 51225160-807e-48b8-88c9-28311c7899e1
-
Get the results of a job, using a short ID:
bacalhau job get 51225160