LaptopDriveRemoveSettings.cs 428 B

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