Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
654 B · 31 lines
TypeScript
at main
1234567891011121314151617181920212223242526272829303132import type { CommandSpec } from '../registry.js'
const srun: CommandSpec = { name: 'srun', description: 'Run a command on SLURM cluster nodes', options: [ { name: ['-n', '--ntasks'], description: 'Number of tasks', args: { name: 'count', description: 'Number of tasks to run', }, }, { name: ['-N', '--nodes'], description: 'Number of nodes', args: { name: 'count', description: 'Number of nodes to allocate', }, }, ], args: { name: 'command', description: 'Command to run on the cluster', isCommand: true, },}
export default srun