mirror of
https://github.com/nsnail/dot.git
synced 2025-06-19 22:08:16 +08:00
<refactor>
This commit is contained in:
@ -2,7 +2,7 @@ using TextCopy;
|
||||
|
||||
namespace Dot.Guid;
|
||||
|
||||
public sealed class Main : Tool<Option>
|
||||
public sealed class Main : ToolBase<Option>
|
||||
{
|
||||
public Main(Option opt) : base(opt) { }
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
namespace Dot.Guid;
|
||||
|
||||
[Verb("guid", HelpText = nameof(Str.GuidTool), ResourceType = typeof(Str))]
|
||||
public class Option : IOption
|
||||
public class Option : OptionBase
|
||||
{
|
||||
[Option('u', "upper", HelpText = nameof(Str.UseUppercase), Default = false, ResourceType = typeof(Str))]
|
||||
public bool Upper { get; set; } //normal options here
|
||||
|
Reference in New Issue
Block a user