UNPKG

@milkmaccya2/hostswitch

Version:

A simple CLI tool to manage and switch between multiple hosts file profiles for different development environments

16 lines 593 B
import type { IUserInterface } from '../interfaces'; import type { HostSwitchFacade } from './HostSwitchFacade'; export type CommandType = 'list' | 'create' | 'switch' | 'edit' | 'show' | 'delete'; export interface CommandParams { name?: string; fromCurrent?: boolean; force?: boolean; } export declare class CliController { private facade; private ui; constructor(facade: HostSwitchFacade, ui: IUserInterface); executeCommand(commandType: CommandType, params?: CommandParams): Promise<void>; private createCommand; } //# sourceMappingURL=CliController.d.ts.map