ToolBX.MisterTerminal 2.2.0

dotnet add package ToolBX.MisterTerminal --version 2.2.0
NuGet\Install-Package ToolBX.MisterTerminal -Version 2.2.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="ToolBX.MisterTerminal" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ToolBX.MisterTerminal --version 2.2.0
#r "nuget: ToolBX.MisterTerminal, 2.2.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 ToolBX.MisterTerminal as a Cake Addin
#addin nuget:?package=ToolBX.MisterTerminal&version=2.2.0

// Install ToolBX.MisterTerminal as a Cake Tool
#tool nuget:?package=ToolBX.MisterTerminal&version=2.2.0

MisterTerminal

MisterTerminal

A high level library to easily and cleanly build smarter console applications.

Getting started

MisterTerminal uses AutoInject to automatically add all MisterTerminal services. You do still need to manually call AddAutoInjectServices or use AssemblyInitializer which makes it even easier.

If you dislike automatic injection and prefer boilerplate, you can use the following method:

public void ConfigureServices(IServiceCollection services)
{
    services.AddMisterTerminal();
}

Afterwards, you can inject the ITerminal interface and use it like so :

_terminal.Write("Some text");

//This line will only appear if your project is running in debug mode (it will print on both the application console AND the debugging console in case you only have access to the latter.)
_terminal.Debug.Write("Some debug text");

//If you only need to use the console for debugging purposes then you should inject IDebugTerminal directly
_debugTerminal.Write("Other debug text");

Check out the MisterTerminal.Sample for more examples.

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.

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
2.2.0 293 1/13/2024
2.2.0-beta1 69 1/7/2024
2.0.4 196 6/19/2023
2.0.3 185 5/4/2023
2.0.2 192 5/1/2023
2.0.1 180 4/27/2023
2.0.0 353 11/12/2022
1.0.1 443 6/14/2022
1.0.0 423 6/3/2022