Argu


ArgumentCaseInfo

Namespace: Argu

Union argument metadata

Record Fields

Record FieldDescription
AppSettingsCSV
Signature: bool

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

AppSettingsName
Signature: 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: CliPosition

Mandated Cli position for the argument

CommandLineNames
Signature: string list

head element denotes primary command line arg

CustomAssignmentSeparator
Signature: string option

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

Description
Signature: string

Description of the parameter

GatherAllSources
Signature: bool

Combine AppSettings with CLI inputs

IsGatherUnrecognized
Signature: bool

Declares that the parameter should gather any unrecognized CLI params

IsHidden
Signature: bool

Hide from Usage

IsMainCommand
Signature: bool

Specifies that this argument is the main CLI command

IsMandatory
Signature: bool

Fails if no argument of this type is specified

IsRest
Signature: bool

If specified, should consume remaining tokens from the CLI

IsUnique
Signature: bool

Specifies that argument should be specified at most once in CLI

Name
Signature: string

Human readable name identifier

UnionCaseInfo
Signature: UnionCaseInfo

Union case reflection identifier

Fork me on GitHub