resolveStorageConfig
function resolveStorageConfig(role, options): StorageConfig;Defined in: src/cli/index.ts:426
Resolve a role’s driver and settings from env. An unknown driver throws.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
role |
StorageRole |
options |
{ allowed: readonly string[]; driver?: string; env?: Env; } |
options.allowed |
readonly string[] |
options.driver? |
string |
options.env? |
Env |