| 123456789101112131415161718192021222324252627 |
- using System.ComponentModel;
- using Spectre.Console.Cli;
- namespace RackPeek.Commands.Desktops.Cpus;
- public class DesktopCpuSetSettings : CommandSettings
- {
- [CommandArgument(0, "<desktop>")]
- [Description("The desktop name.")]
- public string DesktopName { get; set; } = default!;
- [CommandArgument(1, "<index>")]
- [Description("The index of the desktop cpu.")]
- public int Index { get; set; }
- [CommandOption("--model")]
- [Description("The cpu model.")]
- 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; }
- }
|