Spaces:
Configuration error
Configuration error
Download frontend/src/services/terminal-service.ts from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/services/terminal-service.ts
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/services/terminal-service.ts
-
curl -L -o terminal-service.ts https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/services/terminal-service.ts
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; | |
| } | |