using BenchmarkDotNet.Attributes; using PowerArgs; namespace CliFx.Benchmarks; public partial class Benchmarks { public class PowerArgsCommand { [ArgShortcut("--str"), ArgShortcut("-s")] public string? StrOption { get; set; } [ArgShortcut("--int"), ArgShortcut("-i")] public int IntOption { get; set; } [ArgShortcut("--bool"), ArgShortcut("-b")] public bool BoolOption { get; set; } public void Main() { } } [Benchmark(Description = "PowerArgs")] public void ExecuteWithPowerArgs() => Args.InvokeMain(Arguments); }