zzz / frontend /src /services /terminal-service.ts
ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
221 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;
}