FileDirOption constructor

const FileDirOption({
  1. String? argName,
  2. List<String>? argAliases,
  3. String? argAbbrev,
  4. int? argPos,
  5. String? envName,
  6. String? configKey,
  7. List<String>? configKeys,
  8. FileSystemEntity? fromCustom(
    1. Configuration<OptionDefinition> cfg
    )?,
  9. FileSystemEntity fromDefault()?,
  10. FileSystemEntity? defaultsTo,
  11. String? helpText,
  12. String? valueHelp,
  13. OptionGroup? group,
  14. void customValidator(
    1. FileSystemEntity value
    )?,
  15. bool mandatory = false,
  16. bool hide = false,
  17. PathExistMode mode = PathExistMode.mayExist,
})

Implementation

const FileDirOption({
  super.argName,
  super.argAliases,
  super.argAbbrev,
  super.argPos,
  super.envName,
  super.configKey,
  super.configKeys,
  super.fromCustom,
  super.fromDefault,
  super.defaultsTo,
  super.helpText,
  super.valueHelp,
  super.group,
  super.customValidator,
  super.mandatory,
  super.hide,
  this.mode = PathExistMode.mayExist,
}) : super(valueParser: const FileSystemEntityParser());