first commit

This commit is contained in:
Versun
2026-04-02 09:25:15 +08:00
commit 5513bcaa0e
1902 changed files with 513237 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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