The bacalhau agent node
command retrieves information about the agent's node, providing insights into the agent's environment and aiding in debugging.
bacalhau agent node [flags]
-h
,--help
:- Displays help information for the
node
sub-command.
- Displays help information for the
--output format
:- Defines the output format (either JSON or YAML).
- Options:
json
,yaml
- Default:
yaml
--pretty
:- Beautifies the output when using JSON or YAML formats.
--api-host string
:- The host for REST communication. Overrides the
BACALHAU_API_HOST
environment variable. - Default:
bootstrap.production.bacalhau.org
- The host for REST communication. Overrides the
--api-port int
:- The port for REST communication. Overridden if
BACALHAU_API_PORT
environment variable is set. - Default:
1234
- The port for REST communication. Overridden if
--log-mode logging-mode
:- Specifies the log format. Choices are:
default
,station
,json
,combined
,event
. - Default:
default
- Specifies the log format. Choices are:
--repo string
:- Path to the bacalhau repository.
- Default: ``$HOME/.bacalhau`
-
Retrieve Node Information in Default Format (YAML)
bacalhau agent node
-
Retrieve Node Information in JSON Format
bacalhau agent node --output json
-
Retrieve Node Information in Pretty-printed JSON Format
bacalhau agent node --output json --pretty