mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-17 01:12:50 +08:00

Also moves tests to `./test` which makes it possible for all test projects to share the same .editorconfig files and similar.
23 lines
563 B
C#
23 lines
563 B
C#
using Spectre.Console.Cli;
|
|
|
|
namespace Spectre.Console.Tests.Data
|
|
{
|
|
public class MultipleArgumentVectorSettings : CommandSettings
|
|
{
|
|
[CommandArgument(0, "<Foos>")]
|
|
public string[] Foo { get; set; }
|
|
|
|
[CommandArgument(0, "<Bars>")]
|
|
public string[] Bar { get; set; }
|
|
}
|
|
|
|
public class MultipleArgumentVectorSpecifiedFirstSettings : CommandSettings
|
|
{
|
|
[CommandArgument(0, "<Foos>")]
|
|
public string[] Foo { get; set; }
|
|
|
|
[CommandArgument(1, "<Bar>")]
|
|
public string Bar { get; set; }
|
|
}
|
|
}
|