(#645) Ordered CommandArguments by position

in CommandModelValidator
This commit is contained in:
Nils Andresen
2021-11-29 16:05:20 +01:00
committed by Patrik Svensson
parent 3f561e0902
commit 55633b59fa
2 changed files with 10 additions and 7 deletions

View File

@ -13,10 +13,10 @@ namespace Spectre.Console.Tests.Data
public class MultipleArgumentVectorSpecifiedFirstSettings : CommandSettings
{
[CommandArgument(1, "[Bar]")]
public string Bar { get; set; }
[CommandArgument(0, "<Foos>")]
public string[] Foo { get; set; }
[CommandArgument(1, "<Bar>")]
public string Bar { get; set; }
}
}