Add benchmarks

This commit is contained in:
Alexey Golub
2019-07-28 22:03:59 +03:00
parent 16676cff8c
commit 9856e784f5
10 changed files with 196 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
using System.Threading.Tasks;
using CliFx.Attributes;
using CliFx.Models;
namespace CliFx.Benchmarks.Commands
{
[Command]
public class CliFxCommand : ICommand
{
[CommandOption("str", 's')]
public string StrOption { get; set; }
[CommandOption("int", 'i')]
public int IntOption { get; set; }
[CommandOption("bool", 'b')]
public bool BoolOption { get; set; }
public Task ExecuteAsync(CommandContext context) => Task.CompletedTask;
}
}