Interface: ExtensionOption
Defined in: core/extensionOptions.ts:18
One of an extension's options, as Claude Code's userConfig declares it.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
default? | OptionValue | - | core/extensionOptions.ts:25 |
description | string | - | core/extensionOptions.ts:22 |
max? | number | - | core/extensionOptions.ts:34 |
min? | number | A number's bounds. | core/extensionOptions.ts:33 |
multiple? | boolean | Several 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? | boolean | Without a value (its own or a default), the extension doesn't run. | core/extensionOptions.ts:24 |
sensitive? | boolean | A secret (a token, a password): asked without echo, kept apart, never shown back. | core/extensionOptions.ts:27 |
title | string | What it's called where the person is asked. | core/extensionOptions.ts:21 |
type | "string" | "number" | "boolean" | "directory" | "file" | - | core/extensionOptions.ts:19 |