| 1234567891011121314151617181920212223 |
- using System.ComponentModel;
- using Spectre.Console.Cli;
- namespace RackPeek.Commands.Laptops.Cpus;
- public class LaptopCpuAddSettings : CommandSettings
- {
- [CommandArgument(0, "<Laptop>")]
- [Description("The Laptop name.")]
- public string LaptopName { get; set; } = default!;
- [CommandOption("--model")]
- [Description("The model name.")]
- public string? Model { get; set; }
- [CommandOption("--cores")]
- [Description("The number of cpu cores.")]
- public int? Cores { get; set; }
- [CommandOption("--threads")]
- [Description("The number of cpu threads.")]
- public int? Threads { get; set; }
- }
|