ReadonlyArgvParser

interface
interface ReadonlyArgvParser<TArgs>

Properties

NameTypeDescription
configuredOptionsReadonly<{ [key in keyof TArgs]: InternalOptionConfig }>—
configuredPositionalsreadonly Readonly<InternalOptionConfig>[]—
optionsReadonly<Required<ParserOptions<TArgs>>>—

Methods

getConfigurationDocs(): ConfigurationDocSection[]

Gets documentation sections for all configured configuration providers.

getDisplayKey(key: string): string

Gets the display key for an option, which may be localized.

getEnvInfo(): { enabled: boolean; prefix?: string }

Returns the environment variable configuration for this parser, used by documentation generation.

getLocalizationDictionary(): LocalizationDictionary | undefined

Gets the localization dictionary if configured.

updateConfig(values: Partial<TArgs>): Promise<void>