/ utils / bash / specs / sleep.ts
sleep.ts
 1  import type { CommandSpec } from '../registry.js'
 2  
 3  const sleep: CommandSpec = {
 4    name: 'sleep',
 5    description: 'Delay for a specified amount of time',
 6    args: {
 7      name: 'duration',
 8      description: 'Duration to sleep (seconds or with suffix like 5s, 2m, 1h)',
 9      isOptional: false,
10    },
11  }
12  
13  export default sleep