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

* Add "Shared" projects for all examples * Update "Colors" example with better TrueColor demo * Use same namespace for all examples
17 lines
395 B
C#
17 lines
395 B
C#
using System.ComponentModel;
|
|
using Spectre.Console.Cli;
|
|
|
|
namespace Spectre.Console.Examples
|
|
{
|
|
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; }
|
|
}
|
|
}
|
|
}
|