PrettyConsole 1.6.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.6.1
NuGet\Install-Package PrettyConsole -Version 1.6.1
<PackageReference Include="PrettyConsole" Version="1.6.1" />
paket add PrettyConsole --version 1.6.1
#r "nuget: PrettyConsole, 1.6.1"
// Install PrettyConsole as a Cake Addin #addin nuget:?package=PrettyConsole&version=1.6.1 // Install PrettyConsole as a Cake Tool #tool nuget:?package=PrettyConsole&version=1.6.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.
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.
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.1.0 | 203 | 11/14/2024 | |
3.0.0 | 280 | 10/21/2024 | |
3.0.0-rc.2 | 44 | 10/16/2024 | |
3.0.0-rc.1 | 51 | 10/11/2024 | |
2.1.1 | 141 | 8/25/2024 | |
2.1.0 | 117 | 8/23/2024 | |
2.0.0 | 171 | 3/2/2024 | |
1.6.1 | 259 | 6/30/2023 | |
1.6.0 | 219 | 6/26/2023 | |
1.5.2 | 251 | 4/14/2023 | |
1.5.1 | 357 | 12/21/2022 | |
1.5.0 | 405 | 12/4/2022 | |
1.4.0 | 479 | 8/4/2022 | |
1.3.0 | 470 | 7/14/2022 | |
1.2.0 | 453 | 7/5/2022 | |
1.1.0 | 453 | 6/18/2022 | |
1.0.2 | 478 | 6/14/2022 | |
1.0.1 | 494 | 6/14/2022 | |
1.0.0 | 511 | 6/12/2022 |