Skip to main content

ArgumentBase Interface

Namespace: DensoCreate.Cli.Framework

Description

This is a base class that represents arguments for commands and options.

Inherit Base

NameDescription
TaggableThis is a base class that implements tagging functionality.

Derived From

NameDescription
ArgumentThis is a class that represents arguments for commands and options.

Property

NameDescription
ArgumentTypeGets or sets the argument type.
DefaultValueGets the initial value.
DescriptionGets or sets the description.
HasDefaultValueGets whether an initial value is available.
NameGets or sets the argument name.

Method

NameDescription
ExistingOnlyAdds an option to only accept existing files at the time of command execution.
The argument type must be FileInfo, DirectoryInfo, or FileSystemInfo.
IsExistingOnlyDetermines whether the option to only accept existing files has been added.
IsLegalFilePathsOnlyDetermines whether the option to only accept valid file paths has been added.
LegalFilePathsOnlyAdds an option to only accept valid file paths when executing the command.
Only string type arguments can be used.
SetDefaultValueSets the initial value of the argument. If value is null, no initial value will be set.