| 12345678910111213141516171819 |
- using System.ComponentModel;
- using Spectre.Console.Cli;
- namespace RackPeek.Commands.Desktops.Drive;
- public class DesktopDriveAddSettings : CommandSettings
- {
- [CommandArgument(0, "<desktop>")]
- [Description("The name of the desktop.")]
- public string DesktopName { get; set; } = default!;
- [CommandOption("--type")]
- [Description("The drive type e.g hdd / ssd.")]
- public string? Type { get; set; }
- [CommandOption("--size")]
- [Description("The drive capacity in GB.")]
- public int? Size { get; set; }
- }
|