source dump of claude code
at main 14 lines 445 B view raw
1import { feature } from 'bun:bundle' 2import type { Command } from '../../commands.js' 3 4const branch = { 5 type: 'local-jsx', 6 name: 'branch', 7 // 'fork' alias only when /fork doesn't exist as its own command 8 aliases: feature('FORK_SUBAGENT') ? [] : ['fork'], 9 description: 'Create a branch of the current conversation at this point', 10 argumentHint: '[name]', 11 load: () => import('./branch.js'), 12} satisfies Command 13 14export default branch