spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / command-spec / command-spec.ts
10 lines · 284 BRaw
1import Names from '../names'
2
3/**
4 * What `session.start` hands `$.command.register`: the one place the
5 * `/diff` spec is built, where a later CommandSpec field joins.
6 */
7export const COMMAND_SPEC = {
8 name: Names.COMMAND_NAME,
9 description: Names.COMMAND_DESCRIPTION,
10} as const