mirror of
https://github.com/nsnail/dot.git
synced 2025-08-03 20:45:36 +08:00
31 lines
948 B
C#
31 lines
948 B
C#
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
|
// ReSharper disable ClassNeverInstantiated.Global
|
|
|
|
namespace Dot.Git;
|
|
|
|
internal sealed class Option : OptionBase
|
|
{
|
|
[CommandOption("-a|--args")]
|
|
[Description(nameof(Ln.传递给Git的参数))]
|
|
[Localization(typeof(Ln))]
|
|
[DefaultValue("status")]
|
|
public string Args { get; set; }
|
|
|
|
[CommandOption("-e|--git-output-encoding")]
|
|
[Description(nameof(Ln.Git输出编码))]
|
|
[Localization(typeof(Ln))]
|
|
[DefaultValue("utf-8")]
|
|
public string Git输出编码 { get; set; }
|
|
|
|
[CommandOption("-d|--max-recursion-depth")]
|
|
[Description(nameof(Ln.目录检索深度))]
|
|
[Localization(typeof(Ln))]
|
|
[DefaultValue(int.MaxValue)]
|
|
public int MaxRecursionDepth { get; set; }
|
|
|
|
[CommandArgument(0, "[PATH]")]
|
|
[Description(nameof(Ln.要处理的目录路径))]
|
|
[Localization(typeof(Ln))]
|
|
[DefaultValue(".")]
|
|
public string Path { get; set; }
|
|
} |