This commit is contained in:
2022-12-09 16:39:04 +08:00
parent f4b7c5d0ad
commit 0594ec1836
37 changed files with 276 additions and 183 deletions

View File

@ -3,11 +3,11 @@ using System.Net.Sockets;
namespace Dot.IP;
[Description(nameof(Str.Ip))]
[Localization(typeof(Str))]
public sealed class Main : ToolBase<Option>
{
public Main(Option opt) : base(opt) { }
protected override async Task Core()
{
foreach (var item in NetworkInterface.GetAllNetworkInterfaces()) {

View File

@ -1,4 +1,3 @@
namespace Dot.IP;
[Verb("ip", HelpText = nameof(Str.Ip), ResourceType = typeof(Str))]
public class Option : OptionBase { }