using System.ComponentModel; using Spectre.Console.Cli; namespace RackPeek.Commands.Desktops.Nics; public class DesktopNicSetSettings : CommandSettings { [CommandArgument(0, "")] [Description("The desktop name.")] public string DesktopName { get; set; } = default!; [CommandArgument(1, "")] [Description("The index of the nic to remove.")] public int Index { get; set; } [CommandOption("--type")] [Description("The nic port type e.g rj45 / sfp+")] public string? Type { get; set; } [CommandOption("--speed")] [Description("The speed of the nic in Gb/s.")] public int? Speed { get; set; } [CommandOption("--ports")] [Description("The number of ports.")] public int? Ports { get; set; } }