mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-27 05:32:50 +08:00
16 lines
371 B
C#
16 lines
371 B
C#
using System.IO;
|
|
|
|
namespace Spectre.Console.Tests.Data;
|
|
|
|
public class HorseSettings : MammalSettings
|
|
{
|
|
[CommandOption("-d|--day <Mon|Tue>")]
|
|
public DayOfWeek Day { get; set; }
|
|
|
|
[CommandOption("--file")]
|
|
[DefaultValue("food.txt")]
|
|
public FileInfo File { get; set; }
|
|
|
|
[CommandOption("--directory")]
|
|
public DirectoryInfo Directory { get; set; }
|
|
} |