DesktopDriveAddSettings.cs 533 B

12345678910111213141516171819
  1. using System.ComponentModel;
  2. using Spectre.Console.Cli;
  3. namespace RackPeek.Commands.Desktops.Drive;
  4. public class DesktopDriveAddSettings : CommandSettings
  5. {
  6. [CommandArgument(0, "<desktop>")]
  7. [Description("The name of the desktop.")]
  8. public string DesktopName { get; set; } = default!;
  9. [CommandOption("--type")]
  10. [Description("The drive type e.g hdd / ssd.")]
  11. public string? Type { get; set; }
  12. [CommandOption("--size")]
  13. [Description("The drive capacity in GB.")]
  14. public int? Size { get; set; }
  15. }