Download src/utils/bash/specs/sleep.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/utils/bash/specs/sleep.ts
- Command line
-
hf download hf://chenbhao/codev@afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/utils/bash/specs/sleep.ts
-
curl -L -o sleep.ts https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/utils/bash/specs/sleep.ts
315 Bytes
| import type { CommandSpec } from '../registry.js' | |
| const sleep: CommandSpec = { | |
| name: 'sleep', | |
| description: 'Delay for a specified amount of time', | |
| args: { | |
| name: 'duration', | |
| description: 'Duration to sleep (seconds or with suffix like 5s, 2m, 1h)', | |
| isOptional: false, | |
| }, | |
| } | |
| export default sleep | |