CLI

Update, configure, and test CLI settings

sfp cli config get [FIRSTARGKEY]

Fetch a config key/value pair from the config.json file in the .sfp folder.

USAGE
  $ sfp cli config get [FIRSTARGKEY] [--json] [-g] [--loglevel
    trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -g, --global             Fetch the configuration variable globally, so they can be used from any Salesforce DX
                           project.
      --loglevel=<option>  [default: info] logging level for this command invocation
                           <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Fetch a config key/value pair from the config.json file in the .sfp folder.
  When this commands runs globally the file needs to be in the home folder.
  When this commands runs without flag the file needs to be in the project folder.

ALIASES
  $ sfp get
  $ sfp config get

EXAMPLES
  $ sfp config:unset domain core

See code: src/commands/cli/config/get.tsarrow-up-right

sfp cli config list [FIRSTARGKEY]

List all config key/value pair from the config.json file in the .sfp folder.

See code: src/commands/cli/config/list.tsarrow-up-right

sfp cli config set [FIRSTARGKEY] [SECONDARGVALUE]

Set one configuration variable, such as sfp server URL, server email, or your default org.

See code: src/commands/cli/config/set.tsarrow-up-right

sfp cli config unset [FIRSTARGKEY]

Delete a config key/value pair from the config.json file in the .sfp folder.

See code: src/commands/cli/config/unset.tsarrow-up-right

sfp cli test

Verify AI provider connectivity and authentication

See code: src/commands/cli/test.tsarrow-up-right

sfp cli update

Update the SFP CLI to the latest version

See code: src/commands/cli/update.tsarrow-up-right

Last updated

Was this helpful?