UNPKG

777 BTypeScriptView Raw
1import { BaseConfig, BaseConfigOptions, ParsedArgs } from '@ionic/cli-framework';
2import { CommandMetadataOption, ConfigFile, CreateRequestOptions, IConfig } from '../definitions';
3export declare const GLOBAL_OPTIONS: readonly CommandMetadataOption[];
4export declare const CONFIG_FILE = "config.json";
5export declare const DEFAULT_CONFIG_DIRECTORY: string;
6export declare class Config extends BaseConfig<ConfigFile> implements IConfig {
7 constructor(p: string, options?: BaseConfigOptions);
8 provideDefaults(config: Partial<ConfigFile>): ConfigFile;
9 getAPIUrl(): string;
10 getDashUrl(): string;
11 getGitHost(): string;
12 getGitPort(): number;
13 getHTTPConfig(): CreateRequestOptions;
14}
15export declare function parseGlobalOptions(pargv: string[]): ParsedArgs;