mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
18 lines
395 B
C#
18 lines
395 B
C#
using McMaster.Extensions.CommandLineUtils;
|
|
|
|
namespace CliFx.Benchmarks.Commands
|
|
{
|
|
public class McMasterCommand
|
|
{
|
|
[Option("--str|-s")]
|
|
public string? StrOption { get; set; }
|
|
|
|
[Option("--int|-i")]
|
|
public int IntOption { get; set; }
|
|
|
|
[Option("--bool|-b")]
|
|
public bool BoolOption { get; set; }
|
|
|
|
public int OnExecute() => 0;
|
|
}
|
|
} |