LaptopGpuSetSettings.cs 639 B

1234567891011121314151617181920212223
  1. using System.ComponentModel;
  2. using Spectre.Console.Cli;
  3. namespace RackPeek.Commands.Laptops.Gpus;
  4. public class LaptopGpuSetSettings : CommandSettings
  5. {
  6. [CommandArgument(0, "<Laptop>")]
  7. [Description("The Laptop name.")]
  8. public string LaptopName { get; set; } = default!;
  9. [CommandArgument(1, "<index>")]
  10. [Description("The index of the gpu to update.")]
  11. public int Index { get; set; }
  12. [CommandOption("--model")]
  13. [Description("The gpu model name.")]
  14. public string? Model { get; set; }
  15. [CommandOption("--vram")]
  16. [Description("The amount of gpu vram in Gb.")]
  17. public int? Vram { get; set; }
  18. }