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

* Renames Spectre.Cli to Spectre.Console.Cli. * Now uses Verify with Spectre.Console.Cli tests. * Removes some duplicate definitions. Closes #168
17 lines
380 B
C#
17 lines
380 B
C#
using System.ComponentModel;
|
|
using Spectre.Console.Cli;
|
|
|
|
namespace Delegates
|
|
{
|
|
public static partial class Program
|
|
{
|
|
public sealed class BarSettings : CommandSettings
|
|
{
|
|
[CommandOption("--count")]
|
|
[Description("The number of bars to print")]
|
|
[DefaultValue(1)]
|
|
public int Count { get; set; }
|
|
}
|
|
}
|
|
}
|