ToolBX.MisterTerminal
3.0.0-beta1
See the version list below for details.
dotnet add package ToolBX.MisterTerminal --version 3.0.0-beta1
NuGet\Install-Package ToolBX.MisterTerminal -Version 3.0.0-beta1
<PackageReference Include="ToolBX.MisterTerminal" Version="3.0.0-beta1" />
paket add ToolBX.MisterTerminal --version 3.0.0-beta1
#r "nuget: ToolBX.MisterTerminal, 3.0.0-beta1"
// Install ToolBX.MisterTerminal as a Cake Addin #addin nuget:?package=ToolBX.MisterTerminal&version=3.0.0-beta1&prerelease // Install ToolBX.MisterTerminal as a Cake Tool #tool nuget:?package=ToolBX.MisterTerminal&version=3.0.0-beta1&prerelease
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- ToolBX.AutoConfig (>= 3.0.0-beta1)
- ToolBX.AutoInject (>= 3.0.0-beta2)
- ToolBX.ColorFull (>= 3.0.0-beta1)
- ToolBX.DML.NET (>= 3.0.0-beta1)
- ToolBX.NetAbstractions (>= 3.0.0-beta1)
- ToolBX.TimeProvider (>= 3.0.0-beta1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.