Async command unit tests

This commit is contained in:
Frank Ray
2023-05-19 17:19:17 +01:00
committed by GitHub
parent 1ee2653cf8
commit 0ec70a44db
6 changed files with 158 additions and 5 deletions

View File

@ -0,0 +1,8 @@
namespace Spectre.Console.Tests.Data;
public sealed class AsynchronousCommandSettings : CommandSettings
{
[CommandOption("--ThrowException")]
[DefaultValue(false)]
public bool ThrowException { get; set; }
}

View File

@ -0,0 +1,5 @@
namespace Spectre.Console.Tests.Data;
public sealed class ThrowingCommandSettings : CommandSettings
{
}