Options: {
    filename?: string;
    filePath?: string;
    isGlobal?: boolean;
    isState?: boolean;
    rootFolder?: string;
    stateFolder?: string;
    throwOnNotFound?: boolean;
} & BaseConfigStore.Options

The interface for Config options.

Type declaration

  • Optionalfilename?: string

    The file name.

  • OptionalfilePath?: string

    The full file path where the config file is stored.

  • OptionalisGlobal?: boolean

    If the file is in the global or project directory.

  • OptionalisState?: boolean

    If the file is in the state folder or no (.sfdx).

  • OptionalrootFolder?: string

    The root folder where the config file is stored.

  • OptionalstateFolder?: string

    The state folder where the config file is stored.

  • OptionalthrowOnNotFound?: boolean

    Indicates if init should throw if the corresponding config file is not found.