When using System.CommandLine.DragonFruit version 0.4+, arrays do not read more than 1 parameter.
This is not the case in version 0.3.0-alpha.21216.1 and the bug occurs in at least string[] and int[], possibly other types of array.
Code:
class Program
{
static async Task Main(int[] test)
{
Console.WriteLine(String.Join(", ", test));
}
}
Args:
--test 1 2
Error:
Unrecognized command or argument '2'.