Woof.Console 5.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Woof.Console --version 5.0.0                
NuGet\Install-Package Woof.Console -Version 5.0.0                
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="Woof.Console" Version="5.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Woof.Console --version 5.0.0                
#r "nuget: Woof.Console, 5.0.0"                
#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 Woof.Console as a Cake Addin
#addin nuget:?package=Woof.Console&version=5.0.0

// Install Woof.Console as a Cake Tool
#tool nuget:?package=Woof.Console&version=5.0.0                

Woof.Console

.NET extension created by CodeDog

Distributed under MIT License. (c)2021 by CodeDog, All rights reserved.


About

Console extensions and filters allowing colored output and real time progress dots.

See the Demo project in sources for examples.

This is a complete rewrite of the previous version that is now deprecated. Current version was tested on Windows and Linux systems using PuTTy as Linux Terminal. The CommandLine class was removed, because there is a specialized Woof package for that now.

This package is incompatible with versions older than 5.0.0.

Known issues

  • Progress dots may flicker and change colors. System.Console is not asynchronous nor thread safe. There's probably no way around it. Most of the time it works good though.
  • Progress display may break when bottom end of the window is reached.
  • The output is slow, because System.Console is slow and the colored output uses many string manipulations.
  • The LogAsync method may display messages in a different order than they were called.
  • The defined colors may look different on different terminals and even be invisible on some.
  • Tested on Windows 11 and Ubuntu 20.4, colors may look different or ugly on other systems.
  • The source won't compile on older Visual Studio versions.
  • The package requires .NET 5.0 or newer.

Disclaimer

Please report any issues to the toolkit developer.

Woof Toolkit is a work in progress in constant development, however it's carefully maintained with production code quality.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.
  • net5.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Woof.Console:

Package Downloads
Woof.Service

Windows Service made easy.

GitHub repositories

This package is not used by any popular GitHub repositories.

Complete rewrite.