OpenHands / frontend /src /services /terminal-service.ts
Backup-bdg's picture
Upload 565 files
b59aa07 verified
raw
history blame contribute delete
215 Bytes
import ActionType from "#/types/action-type";
export function getTerminalCommand(command: string, hidden: boolean = false) {
const event = { action: ActionType.RUN, args: { command, hidden } };
return event;
}