spectre.console
spectre.console copied to clipboard
A .NET library that makes it easier to create beautiful console applications.
Example: config.AddCommand("install-cloud") .WithAlias("cloud").WithAlias("cld"); //config.AddCommand("cloud"); //config.AddCommand("cld"); If you use config.AddCommand(), each command shows up in help display, but the WithAlias() option does not.
Currently, the use of `arrays` in settings is only [documented](https://spectreconsole.net/cli/settings) for `CommandArguemts` like ``` [CommandArgument(0, "[name]")] public string[] Name { get; set; } ``` But not for `CommandOptions`, as asked...
**Is your feature request related to a problem? Please describe.** When using prompts in my scenario I have a default option at the top but (for cake build) but user...
**Information** - OS: Windows - Version: 0.38.0 - Terminal: Windows Terminal **Describe the bug** If you just enter "TesstApp.exe" you get: ``` USAGE: AproClientConsole [OPTIONS] OPTIONS: -h, --help Prints help...
**Issue** When using custom validation attributes derived from `ParameterValidationAttribute`, the validation error message provided in the attribute constructor overrides any `ValidationResult` error message. Using the `ValidationResult` messages returned by `Validate`...
**Information** - OS: Microsoft Windows [10.0.19042.1237] - Terminal: ConEmu **Describe the bug** ConEmu display is normal, but I cannot up or down to select option. When I press enter button,...
Found in version: 0.39.0 Found this when using `AnsiConsole.MarkupLine()` or `Markup()` method to print an exception stack trace, the method always raise another Exception in `Segment` class `SplitOverflow()` method. So...
**Information** - OS: Windows 2012 R2 - Terminal: Windows Terminal I feel a bit dumb having gone this far without considering the impacts. I developed my console app using dotnet...
**Information** - OS: Windows 10 - Version: WSL 1 - Terminal: WSL Shell **Describe the bug** Spectre.Console gets the terminal width by getting `System.Console.BufferWidth` however, when running a Windows app...
**Is your feature request related to a problem? Please describe.** No problem, just a feature request. **Describe the solution you'd like** It would be nice to set the width of...