mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00

Also moves tests to `./test` which makes it possible for all test projects to share the same .editorconfig files and similar.
16 lines
437 B
C#
16 lines
437 B
C#
using System.ComponentModel;
|
|
using Spectre.Console.Cli;
|
|
|
|
namespace Spectre.Console.Tests.Data
|
|
{
|
|
public class LionSettings : CatSettings
|
|
{
|
|
[CommandArgument(0, "<TEETH>")]
|
|
[Description("The number of teeth the lion has.")]
|
|
public int Teeth { get; set; }
|
|
|
|
[CommandOption("-c <CHILDREN>")]
|
|
[Description("The number of children the lion has.")]
|
|
public int Children { get; set; }
|
|
}
|
|
} |