spectre.console
spectre.console copied to clipboard
A .NET library that makes it easier to create beautiful console applications.
**Information** - OS: MacOS - Version: 0.43.0" - Terminal: MacOS/zsh **Describe the bug** ```C# public class MySettings : CommandSettings { [CommandOption("-o|--my-option-list [item]")] [Description("Description")] public IReadOnlyList? OptionList { get; init; }...
**Is your feature request related to a problem? Please describe.** Currently as far as I could determine Ansi link support is determined by checking if a terminal supports Ansi, and...
**Is your feature request related to a problem? Please describe.** For some CLI, no of commands and the commands supported will be many. Using a typical command line is harder...
When using gnome-terminal, and have the option `Ambiguous-width character` set to `Wide` causes spectre.console to render all tables with the double amount of table columns (Setting the option to narrow...
Decided to create some unit tests for the tokenizer, as it would've been too much of a mess to test all of this through CommandApp. That's obviously up for debate,...
**Is your feature request related to a problem? Please describe.** I was looking to find a way to show command help during execution of a command. For example, I have...
Code in this PR adds possibility to abort `SelectionPrompt` and `MultiSelectionPrompt` with `Escape` key. When `Escape` key is pressed, prompt is aborted and its `Aborted` property is set to `true`....
After reading corresponding question in [discussions](https://github.com/spectreconsole/spectre.console/discussions/162) and writing my own example I came up with multiple questions, regarding usage of [System.IProgress](https://docs.microsoft.com/en-us/dotnet/api/system.iprogress-1?view=net-6.0)/[System.Progress](https://docs.microsoft.com/en-us/dotnet/api/system.progress-1?view=net-6.0) with [Spectre.Console.AnsiConsole.Progress](https://spectreconsole.net/api/spectre.console/progress/). Here's my code sample: ```c# var iterationCount...
Similar to AddChoices() and AddChoice(), it would be convenient for MultiSelectionPrompt to support AddChildren() in addition to Add Child(). `IMultiSelectionItem AddChildren(IEnumerable children)` would allow adding child choices in a single...
**Is your feature request related to a problem? Please describe.** I want to be able to update the value on a `BarChartItem` after it has been created, this is mainly...