DesktopGpuAddSettings.cs 521 B

12345678910111213141516171819
  1. using System.ComponentModel;
  2. using Spectre.Console.Cli;
  3. namespace RackPeek.Commands.Desktops.Gpus;
  4. public class DesktopGpuAddSettings : CommandSettings
  5. {
  6. [CommandArgument(0, "<desktop>")]
  7. [Description("The name of the desktop.")]
  8. public string DesktopName { get; set; } = default!;
  9. [CommandOption("--model")]
  10. [Description("The Gpu model.")]
  11. public string? Model { get; set; }
  12. [CommandOption("--vram")]
  13. [Description("The amount of gpu vram in Gb.")]
  14. public int? Vram { get; set; }
  15. }