Skip to content

gunshi / combinators / CombinatorOptions

Interface: CombinatorOptions<T>

Experimental

Options for the combinator factory function.

Extends

Type Parameters

Type ParameterDescription
TThe parsed value type.

Properties

PropertyTypeDescriptionInherited from
description?stringExperimental Human-readable description for help text generation.BaseOptions.description
metavar?stringExperimental Display name hint for help text generation. Default 'custom'-
parse(value) => TExperimental The parse function that converts a string to the desired type.-
required?booleanExperimental Mark as required.BaseOptions.required
short?stringExperimental Single character short alias.BaseOptions.short

Released under the MIT License.