UNPKG

458 BTypeScriptView Raw
1import * as Config from '@oclif/config';
2/**
3 * loads CLI plugin/multi config
4 * @param {loadConfig.Options} opts options
5 * @return {Promise<Config.IConfig>} config
6 */
7export declare function loadConfig(opts?: loadConfig.Options): {
8 run(ctx: {
9 config: Config.IConfig;
10 }): Promise<Config.IConfig>;
11};
12export declare namespace loadConfig {
13 let root: string;
14 interface Options {
15 root?: string;
16 reset?: boolean;
17 }
18}