lbcli Global Optional Flags

AI Tools

The following flags can be used with any lbcli command.

Option

Short

Type

Default

Description

--command-timeout


Duration

1m0s

Command timeout (excluding dial-up timeout).

--dial-timeout


Duration

5s

Dial-up timeout for client connections.

--endpoint


String

"http://127.0.0.1:443" (local host)

API service endpoint.

--jwt (2.1 and above)

-J

String


JWT for API access. Note that JWT is mandatory. It can be passed via command line each time using the --jwt flag, or configured with /etc/lbcli/lbcli.yaml for persistent use.

--output-format

-o

String

"human-readable"

Sets the output format:

  • json

  • yaml

  • human-readable

--local-timezone


Boolean


Show times in the local timezone. When this is passed, lbcli will print human-readable timestamps for events and upgrades in the local timezone rather than UTC.

String Argument Characteristics:

  • The maximum length for a resource name is 253 characters.

  • The resource name must consist of alphanumeric characters and can include hyphens (-) and periods (.).