Skip to content

Print lists as AnsiConsole table#69

Merged
darthsharp merged 3 commits into
mainfrom
feature/ansiconsoletableext
Dec 29, 2025
Merged

Print lists as AnsiConsole table#69
darthsharp merged 3 commits into
mainfrom
feature/ansiconsoletableext

Conversation

@darthsharp

Copy link
Copy Markdown
Contributor

No description provided.

- Implemented `PrintTable` method for rendering tabular data in the console.
- Added support for configurable columns, titles, and widths using `TableColumnDef`.
- Included comprehensive unit tests for various scenarios, such as empty items, header visibility, and table configuration.
…nDef`

- Introduced `Color` property to `TableColumnDef`.
- Enhanced title and value rendering with color formatting.
- Refactored `GetValue` and `GetTitle` methods to apply color if specified.
- Introduce tests to verify table rendering with and without column colors.
- Suppress nullable warnings in test class with `[SuppressMessage]`.
- Refactor `TestItem` class to use immutable properties with `init`.
@darthsharp
darthsharp merged commit 702344f into main Dec 29, 2025
6 checks passed
@darthsharp
darthsharp deleted the feature/ansiconsoletableext branch December 29, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant