PrettyConsole 1.5.1

Suggested Alternatives

PrettyConsole 2.0.0

Additional Details

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

There is a newer version of this package available.
See the version list below for details.
dotnet add package PrettyConsole --version 1.5.1                
NuGet\Install-Package PrettyConsole -Version 1.5.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PrettyConsole" Version="1.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PrettyConsole --version 1.5.1                
#r "nuget: PrettyConsole, 1.5.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

  • The last stable release will be available in the releases section in a .dll format.
  • Nuget alternate text is missing from this package README image

📚 Output Examples

Github combo

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.