LaptopDriveRemoveSettings.cs 425 B

123456789101112131415
  1. using System.ComponentModel;
  2. using Spectre.Console.Cli;
  3. namespace RackPeek.Commands.Laptops.Drive;
  4. public class LaptopDriveRemoveSettings : CommandSettings
  5. {
  6. [CommandArgument(0, "<Laptop>")]
  7. [Description("The name of the Laptop.")]
  8. public string LaptopName { get; set; } = default!;
  9. [CommandArgument(1, "<index>")]
  10. [Description("The index of the drive to remove.")]
  11. public int Index { get; set; }
  12. }