UNPKG

@holographxyz/cli

Version:
25 lines (24 loc) 1.01 kB
import { Command } from '@oclif/core'; export default class Config extends Command { static description: string; static examples: string[]; static flags: { network: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>; url: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>; privateKey: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>; fromFile: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>; fromJson: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>; }; /** * Command Entry Point */ run(): Promise<void>; /** * Load the config file from the path provided by the user */ loadConfigPath(configPath: string, filePath: string | undefined): Promise<void>; /** * Load the config file from the JSON provided by the user */ loadConfigJson(configPath: string, jsonString: string | undefined): Promise<void>; }