mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
18 lines
475 B
C#
18 lines
475 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using CliFx.Attributes;
|
|
|
|
namespace CliFx.Tests.TestCommands
|
|
{
|
|
[Command]
|
|
public class MultipleNonScalarParametersCommand : ICommand
|
|
{
|
|
[CommandParameter(0)]
|
|
public IReadOnlyList<string>? ParameterA { get; set; }
|
|
|
|
[CommandParameter(1)]
|
|
public IReadOnlyList<string>? ParameterB { get; set; }
|
|
|
|
public ValueTask ExecuteAsync(IConsole console) => default;
|
|
}
|
|
} |