| 12345678910111213141516171819202122 |
- using System.ComponentModel;
- using Spectre.Console.Cli;
- namespace Shared.Rcl.Commands.Laptops.Nics;
- public class LaptopNicAddSettings : CommandSettings {
- [CommandArgument(0, "<Laptop>")]
- [Description("The name of the Laptop.")]
- public string LaptopName { get; set; } = default!;
- [CommandOption("--type")]
- [Description("The nic port type e.g rj45 / sfp+")]
- public string? Type { get; set; }
- [CommandOption("--speed")]
- [Description("The port speed.")]
- public double? Speed { get; set; }
- [CommandOption("--ports")]
- [Description("The number of ports.")]
- public int? Ports { get; set; }
- }
|