UNPKG

@cloud-cli/cli

Version:

CLI for the Cloud CLI project

17 lines (16 loc) 546 B
import { CommandTree } from './types.js'; export interface ModuleConfiguration { commands?: Record<string, object>; [k: string]: any; } export interface Settings { default?: CommandTree; apiPort?: number; apiHost?: string; key?: string; remoteHost?: string; invalidKeyPenalty?: number; } export declare function getCloudyConfig(filePath?: string): Promise<Settings>; export declare function findFile(): string; export declare function getConfig<T extends ModuleConfiguration>(moduleName: string, defaults?: T): T;