• Update the SFDX configuration for the specified folder path or in the specified config file.

    If no config file is specified the default config file name .sfdx/sfdx-config.json is used.

    Parameters

    • folderPath: string
    • config: Partial<SfdxConfig>

      Update configuration with the username to set and the config file to update

    • options: {
          fs: FileSystem;
          replace?: boolean;
      } = ...

      Options to set the FS implementation to use

      • fs: FileSystem
      • Optional replace?: boolean

    Returns Promise<void>

    Promise that resolves when the default username is updated