(Alleged) Leaked source of Claude Code
1import type { CommandSpec } from '../registry.js'
2
3const alias: CommandSpec = {
4 name: 'alias',
5 description: 'Create or list command aliases',
6 args: {
7 name: 'definition',
8 description: 'Alias definition in the form name=value',
9 isOptional: true,
10 isVariadic: true,
11 },
12}
13
14export default alias