Saltar al contenido principal
Versión: Next (sin publicar)

Interface: ExtensionOption

Defined in: core/extensionOptions.ts:18

One of an extension's options, as Claude Code's userConfig declares it.

Properties​

PropertyTypeDescriptionDefined in
default?OptionValue-core/extensionOptions.ts:25
descriptionstring-core/extensionOptions.ts:22
max?number-core/extensionOptions.ts:34
min?numberA number's bounds.core/extensionOptions.ts:33
multiple?booleanSeveral values (comma-separated where they're typed).core/extensionOptions.ts:31
options?(string | number)[]The values it may take, when it's a choice.core/extensionOptions.ts:29
required?booleanWithout a value (its own or a default), the extension doesn't run.core/extensionOptions.ts:24
sensitive?booleanA secret (a token, a password): asked without echo, kept apart, never shown back.core/extensionOptions.ts:27
titlestringWhat it's called where the person is asked.core/extensionOptions.ts:21
type"string" | "number" | "boolean" | "directory" | "file"-core/extensionOptions.ts:19