Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / cli / ConfigSourcesHookOptions

Interface: ConfigSourcesHookOptions

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:45

Options passed to the b2c:config-sources hook.

These options provide context about the current CLI invocation, allowing plugins to customize their config sources based on user input.

Indexable

[key: string]: unknown

Index signature for oclif hook compatibility

Properties

configPath?

optional configPath: string

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:49

The --config flag value (if provided)


flags?

optional flags: Record<string, unknown>

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:59

All parsed CLI flags from the current command.

Plugins can check for flags they care about. Note that plugins cannot add flags to commands - they can only read flags that the CLI defines. For plugin-specific configuration, use environment variables instead.


instance?

optional instance: string

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:47

The --instance flag value (if provided)


resolveOptions

resolveOptions: ResolveConfigOptions

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:51

Full ResolveConfigOptions for advanced sources that need more context

All rights reserved.