For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/CustomCommandParameter.md.

Interface: CustomCommandParameter

Beta

自定义命令预期的每个参数的定义。

Definition for each parameter expected by the custom command.

Properties

enumName?

optional enumName?: string

Beta

Remarks

CustomCommandParamTypeEnum 时,可用于引用枚举名称。允许参数名称与枚举名称不同。

Can be used to reference the enum name when CustomCommandParamType is 'Enum'. Allows the parameter name to be different from the enum name.


name

name: string

Beta

Remarks

参数在命令行上显示的名称。

The name of parameter as it appears on the command line.


type

type: CustomCommandParamType

Beta

Remarks

参数的数据类型。

The data type of the parameter.