mirror of
http://10.0.2.1:3031/sauer/claude-code.git
synced 2026-06-30 16:36:57 +10:00
21 lines
426 B
TypeScript
21 lines
426 B
TypeScript
import 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
|