UNPKG

@capgo/cli

Version:
42 lines (41 loc) • 1.26 kB
export interface SimulatorCommandOptions { apikey?: string; apiHost?: string; platform?: string; name?: string; json?: boolean; } export declare function simulatorApiRequest(host: string, command: 'start' | 'stop' | 'get', input: { appId: string; platform?: string; name?: string; id?: string; }): { method: "POST"; url: string; body: { app_id: string; platform: string | undefined; name: string | undefined; }; } | { method: "POST"; url: string; body: { app_id: string; platform?: undefined; name?: undefined; }; } | { method: "GET"; url: string; body: undefined; }; export declare function simulatorTextOutput(data: { id?: string; url?: string; status?: string; } | undefined): string; export declare function startSimulatorCommand(appId: string | undefined, options: SimulatorCommandOptions): Promise<void>; export declare function stopSimulatorCommand(sessionId: string | undefined, appId: string | undefined, options: SimulatorCommandOptions): Promise<void>; export declare function getSimulatorCommand(sessionId: string | undefined, appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;