LaptopGpuSetSettings.cs 642 B

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