Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
426 B · 20 lines
TypeScript
at main
123456789101112131415161718192021import type { CommandSpec } from '../registry.js'
const timeout: CommandSpec = { name: 'timeout', description: 'Run a command with a time limit', args: [ { name: 'duration', description: 'Duration to wait before timing out (e.g., 10, 5s, 2m)', isOptional: false, }, { name: 'command', description: 'Command to run', isCommand: true, }, ],}
export default timeout