LaptopGpuAddSettings.cs 516 B

12345678910111213141516171819
  1. using System.ComponentModel;
  2. using Spectre.Console.Cli;
  3. namespace RackPeek.Commands.Laptops.Gpus;
  4. public class LaptopGpuAddSettings : CommandSettings
  5. {
  6. [CommandArgument(0, "<Laptop>")]
  7. [Description("The name of the Laptop.")]
  8. public string LaptopName { 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. }