@salesforce/b2c-tooling-sdk / cli / ConfigSourcesHookOptions
Interface: ConfigSourcesHookOptions ​
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:46
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? ​
optionalconfigPath:string
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:50
The --config flag value (if provided)
flags? ​
optionalflags:Record<string,unknown>
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:60
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? ​
optionalinstance:string
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:48
The --instance flag value (if provided)
resolveOptions ​
resolveOptions:
ResolveConfigOptions
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:52
Full ResolveConfigOptions for advanced sources that need more context