mirror of
https://github.com/nsnail/dot.git
synced 2025-06-17 21:13:21 +08:00
14 lines
486 B
C#
14 lines
486 B
C#
namespace Dot;
|
|
|
|
public class DirOption : IOption
|
|
{
|
|
[Option('f', "filter", HelpText = nameof(Str.FileSearchPattern), Default = "*.*", ResourceType = typeof(Str))]
|
|
public string Filter { get; set; }
|
|
|
|
[Value(0, HelpText = nameof(Str.FolderPath), Default = ".", ResourceType = typeof(Str))]
|
|
public string Path { get; set; }
|
|
|
|
|
|
[Option('r', "readonly", HelpText = nameof(Str.ReadOnly), Default = false, ResourceType = typeof(Str))]
|
|
public bool ReadOnly { get; set; }
|
|
} |