PrettyConsole 1.5.1
The older PrettyConsole versions used old apis, the design of the package no longer feels right with modern standards, and some features heavily consume resources. It is recommended to migrate to version > 2.0.0
See the version list below for details.
dotnet add package PrettyConsole --version 1.5.1
NuGet\Install-Package PrettyConsole -Version 1.5.1
<PackageReference Include="PrettyConsole" Version="1.5.1" />
paket add PrettyConsole --version 1.5.1
#r "nuget: PrettyConsole, 1.5.1"
// Install PrettyConsole as a Cake Addin #addin nuget:?package=PrettyConsole&version=1.5.1 // Install PrettyConsole as a Cake Tool #tool nuget:?package=PrettyConsole&version=1.5.1
PrettyConsole
An abstraction over System.Console
that adds new input and output methods, colors and advanced outputs like progress bars and menus. And everything is ansi supported so it works on legacy systems and terminals.
Features
- ð High performance, Low memory usage and allocation
- ðŠķ Very lightweight (No external dependencies)
- Easy to use (no need to learn a new syntax while still writing less boilerplate code)
- ð Plug and play (most of the time you don't need to change your code much)
- ðū Supports legacy ansi terminals (like Windows 7)
- â Trimming friendly (documented trim warnings and working alternatives for everything)
- Supports all platforms (Windows, Linux, Mac)
- ð Beautifully uniform out of the box (Default colors that can be customized)
- â Uses original output pipes, so that your cli's can be piped properly.
⎠Installation
ðš Output Examples
Usage
The most convenient way to use this package is to add this using statement: using static PrettyConsole.Console;
Then use most of the default method signatures such as Write
, WriteLine
, ReadLine
and so on, conveniently they are named exactly the same as the regular C# counterparts.
For more information about these methods and additional ones, check the Wiki.
Source Code
from the point of public release, the master branch will only contain stable and tested code, so to get the source code you can clone the master branch.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
3.0.0 | 202 | 10/21/2024 | |
3.0.0-rc.2 | 37 | 10/16/2024 | |
3.0.0-rc.1 | 44 | 10/11/2024 | |
2.1.1 | 135 | 8/25/2024 | |
2.1.0 | 112 | 8/23/2024 | |
2.0.0 | 165 | 3/2/2024 | |
1.6.1 | 256 | 6/30/2023 | |
1.6.0 | 216 | 6/26/2023 | |
1.5.2 | 245 | 4/14/2023 | |
1.5.1 | 354 | 12/21/2022 | |
1.5.0 | 401 | 12/4/2022 | |
1.4.0 | 476 | 8/4/2022 | |
1.3.0 | 467 | 7/14/2022 | |
1.2.0 | 449 | 7/5/2022 | |
1.1.0 | 449 | 6/18/2022 | |
1.0.2 | 474 | 6/14/2022 | |
1.0.1 | 491 | 6/14/2022 | |
1.0.0 | 505 | 6/12/2022 |