Argu


ArgumentCaseInfo Type

Namespace: Argu

Assembly: Argu.dll


Base Type: obj

Union argument metadata

Record fields

Record Field Description
AppSettingsCSV
Full Usage:
AppSettingsCSV
Signature: Lazy<bool>

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


AppSettingsName
Full Usage:
AppSettingsName
Signature: Lazy<string option>

name used in AppSettings


AppSettingsSeparators
Full Usage:
AppSettingsSeparators
Signature: string list

AppSettings parameter separator


AppSettingsSplitOptions
Full Usage:
AppSettingsSplitOptions
Signature: StringSplitOptions

AppSettings parameter split options


ArgumentType
Full Usage:
ArgumentType
Signature: ArgumentType

Type of argument parser


CliPosition
Full Usage:
CliPosition
Signature: Lazy<CliPosition>

Mandated Cli position for the argument


CommandLineNames
Full Usage:
CommandLineNames
Signature: Lazy<string list>

head element denotes primary command line arg


CustomAssignmentSeparator
Full Usage:
CustomAssignmentSeparator
Signature: Lazy<CustomAssignmentSeparator option>

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


Description
Full Usage:
Description
Signature: Lazy<string>

Description of the parameter


GatherAllSources
Full Usage:
GatherAllSources
Signature: Lazy<bool>

Combine AppSettings with CLI inputs


IsGatherUnrecognized
Full Usage:
IsGatherUnrecognized
Signature: Lazy<bool>

Declares that the parameter should gather any unrecognized CLI params


IsHidden
Full Usage:
IsHidden
Signature: Lazy<bool>

Hide from Usage


IsMainCommand
Full Usage:
IsMainCommand
Signature: bool

Specifies that this argument is the main CLI command


IsMandatory
Full Usage:
IsMandatory
Signature: Lazy<bool>

Fails if no argument of this type is specified


IsRest
Full Usage:
IsRest
Signature: Lazy<bool>

If specified, should consume remaining tokens from the CLI


IsUnique
Full Usage:
IsUnique
Signature: Lazy<bool>

Specifies that argument should be specified at most once in CLI


Name
Full Usage:
Name
Signature: Lazy<string>

Human readable name identifier


UnionCaseInfo
Full Usage:
UnionCaseInfo
Signature: UnionCaseInfo

Union case reflection identifier


Fork me on GitHub