<refactor>

This commit is contained in:
2022-12-01 11:26:41 +08:00
parent 8b1265b832
commit 85944f23b4
20 changed files with 391 additions and 86 deletions

11
src/DirOption.cs Normal file
View File

@ -0,0 +1,11 @@
namespace Dot;
public class DirOption : IOption
{
[Option('f', "filter", Required = false, HelpText = nameof(Strings.FileSearchPattern), Default = "*.*"
, ResourceType = typeof(Strings))]
public string Filter { get; set; }
[Value(0, HelpText = nameof(Strings.FolderPath), Default = ".", ResourceType = typeof(Strings))]
public string Path { get; set; }
}