Argu


ArgumentCaseInfo

Namespace: Argu
Attributes:
[<NoEquality>]
[<NoComparison>]

Union argument metadata

Record Fields

Record FieldDescription
AppSettingsCSV
Signature: Lazy<bool>

If specified, multiple parameters can be added in AppSettings in CSV form.

AppSettingsName
Signature: Lazy<string option>

name used in AppSettings

AppSettingsSeparators
Signature: string list

AppSettings parameter separator

AppSettingsSplitOptions
Signature: StringSplitOptions

AppSettings parameter split options

ArgumentType
Signature: ArgumentType

Type of argument parser

CliPosition
Signature: Lazy<CliPosition>

Mandated Cli position for the argument

CommandLineNames
Signature: Lazy<string list>

head element denotes primary command line arg

CustomAssignmentSeparator
Signature: Lazy<string option>

Separator token used for EqualsAssignment syntax; e.g. '=' forces '--param=arg' syntax

Description
Signature: Lazy<string>

Description of the parameter

GatherAllSources
Signature: Lazy<bool>

Combine AppSettings with CLI inputs

IsGatherUnrecognized
Signature: Lazy<bool>

Declares that the parameter should gather any unrecognized CLI params

IsHidden
Signature: Lazy<bool>

Hide from Usage

IsMainCommand
Signature: bool

Specifies that this argument is the main CLI command

IsMandatory
Signature: Lazy<bool>

Fails if no argument of this type is specified

IsRest
Signature: Lazy<bool>

If specified, should consume remaining tokens from the CLI

IsUnique
Signature: Lazy<bool>

Specifies that argument should be specified at most once in CLI

Name
Signature: Lazy<string>

Human readable name identifier

UnionCaseInfo
Signature: UnionCaseInfo

Union case reflection identifier

Fork me on GitHub