UNPKG

@sodacore/cli

Version:

Sodacore CLI is a plugin that offers CLI functionality within the framework.

19 lines 604 B
import type { ISocketData } from './types'; import type { Socket } from 'bun'; export default class Commands { private exitHandler; private socket; private commands; constructor(exitHandler: (value?: string) => void); setSocket(socket: Socket<ISocketData>): void; handle(command: string, context: Record<string, any>): Promise<boolean>; private handleAuthenticate; private handleError; private handleCommands; private handleInteract; private handleMenu; private handleLog; private handleExit; private write; } //# sourceMappingURL=commands.d.ts.map