mirror of
https://github.com/nsnail/dot.git
synced 2025-06-19 22:08:16 +08:00
<clean>
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
// ReSharper disable ClassNeverInstantiated.Global
|
||||
|
||||
|
||||
#if NET7_0_WINDOWS
|
||||
using TextCopy;
|
||||
#endif
|
||||
@ -6,7 +9,7 @@ namespace Dot.Guid;
|
||||
|
||||
[Description(nameof(Str.GuidTool))]
|
||||
[Localization(typeof(Str))]
|
||||
public sealed class Main : ToolBase<Option>
|
||||
internal sealed class Main : ToolBase<Option>
|
||||
{
|
||||
protected override Task Core()
|
||||
{
|
||||
|
@ -1,10 +1,13 @@
|
||||
// ReSharper disable ClassNeverInstantiated.Global
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
|
||||
namespace Dot.Guid;
|
||||
|
||||
public class Option : OptionBase
|
||||
internal class Option : OptionBase
|
||||
{
|
||||
[CommandOption("-u|--upper")]
|
||||
[Description(nameof(Str.UseUppercase))]
|
||||
[Localization(typeof(Str))]
|
||||
[DefaultValue(false)]
|
||||
public bool Upper { get; set; } //normal options here
|
||||
public bool Upper { get; set; }
|
||||
}
|
Reference in New Issue
Block a user