cfcli Documentation

AI Tools

The following sections describe how to initialize CF using the included cfcli utility.

Working with CF Using the cfcli Utility

The cfcli is the command-line interface tool used to manage resources within the Lightbits CF service.

cfcli [flags]

The following options are global options that can be used with the main cfcli command:

Option

Short

Type

Default

Description

--auth.jwt

-j

string


JWT token for authentication.

--base-url


string

https://localhost

The endpoint of the CF service (used with login).

--command-timeout


string


Timeout for the command (the default is 60s).

--config


string

$HOME/.local/cluster-federation/cf-cli.yaml

The path to the configuration file.

--dial-timeout


string


Timeout for the dial operation in seconds (for example, 10s).

--endpoint


string


The endpoint to connect to.

--help

-h

bool


Help for cfcli.

--output-format

-o

string

"human"

The output format (json, yaml, human).