ArgumentBase.ExistingOnly Method
Namespace: DensoCreate.Cli.Framework
Description
Adds an option to only accept files that exist when the command is executed.
The argument type must be FileInfo, DirectoryInfo, or FileSystemInfo.
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid Operation | CliInternalException | If the argument type is not FileInfo, DirectoryInfo, or FileSystemInfo |