LaptopGpuAddSettings.cs 519 B

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