UNPKG

@dugongjs/cli

Version:

10 lines (9 loc) 534 B
import type { Config } from "../types/config.js"; import type { Context } from "../types/context.js"; declare function loadConfig(): Config; declare function setConfig(name: string, context: Context, makeCurrent?: boolean): void; declare function getCurrentContext(): Context | null; declare function switchContext(name: string): boolean; declare function deleteContext(name: string): boolean; declare function listContexts(): string[]; export { deleteContext, getCurrentContext, listContexts, loadConfig, setConfig, switchContext };