mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
18 lines
431 B
C#
18 lines
431 B
C#
using System.Collections.Generic;
|
|
using CliFx.Attributes;
|
|
|
|
namespace CliFx.Tests.Commands
|
|
{
|
|
[Command("cmd")]
|
|
public class WithParametersCommand : SelfSerializeCommandBase
|
|
{
|
|
[CommandParameter(0)]
|
|
public string? ParamA { get; set; }
|
|
|
|
[CommandParameter(1)]
|
|
public int? ParamB { get; set; }
|
|
|
|
[CommandParameter(2)]
|
|
public IReadOnlyList<string>? ParamC { get; set; }
|
|
}
|
|
} |