DesktopDriveRemoveSettings.cs 430 B

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