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

* Adding a dark mode * Adding reference for types to summary pages * Adding API Reference * Adding modifiers to methods/fields/etc * Minimizing files input * Caching a lot of the output pages * Cache only for each execution * Adding API references to existing docs
16 lines
338 B
C#
16 lines
338 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; }
|
|
}
|
|
}
|