从 npm 包 @anthropic-ai/claude-code 2.1.88 版本提取的反编译源码 包含 src/ 目录下的 TypeScript 源文件及 vendor/ 原生模块源码 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
417 B
TypeScript
17 lines
417 B
TypeScript
/**
|
|
* Color command - minimal metadata only.
|
|
* Implementation is lazy-loaded from color.ts to reduce startup time.
|
|
*/
|
|
import type { Command } from '../../commands.js'
|
|
|
|
const color = {
|
|
type: 'local-jsx',
|
|
name: 'color',
|
|
description: 'Set the prompt bar color for this session',
|
|
immediate: true,
|
|
argumentHint: '<color|default>',
|
|
load: () => import('./color.js'),
|
|
} satisfies Command
|
|
|
|
export default color
|