PromptPlus 2.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PromptPlus --version 2.1.0
NuGet\Install-Package PromptPlus -Version 2.1.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="PromptPlus" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PromptPlus --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PromptPlus, 2.1.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 PromptPlus as a Cake Addin
#addin nuget:?package=PromptPlus&version=2.1.0
// Install PromptPlus as a Cake Tool
#tool nuget:?package=PromptPlus&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Welcome to PromptPlus
Interactive command-line toolkit for C# with powerful controls and commands. PromptPlus was developed in c# with the **netstandard2.1, .NET 5 AND .NET6 ** target frameworks, with compatibility for:
- .NET Core 3.1, 5.X, 6.X
visit the official page for complete documentation
Sample Usage
//ASCII text banners
PromptPlus.Banner("PromptPlus")
.Run(ConsoleColor.Green);
//MaskEdit Generic
var mask = PromptPlus.MaskEdit(MaskedType.Generic, "Inventory Number")
.Mask(@"\XYZ 9{3}-L{3}-C[ABC]N{1}[XYZ]-A{3}")
.Run(_stopApp);
if (mask.IsAborted)
{
return;
}
if (string.IsNullOrEmpty(mask.Result.Value))
{
Console.WriteLine($"your input was empty!");
}
else
{
Console.WriteLine($"your input was {mask.Result.ObjectValue}!");
}
//AnyKey
var key = PromptPlus.KeyPress()
.Run(_stopApp);
if (key.IsAborted)
{
return;
}
Console.WriteLine($"Hello, key pressed");
Supported platforms
- Windows
- Command Prompt, PowerShell, Windows Terminal
- Linux (Ubuntu, etc)
- Windows Terminal (WSL 2)
- macOS
- Terminal.app
License
This project is licensed under the MIT License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- System.ComponentModel.Annotations (>= 4.7.0)
- System.IO (>= 4.3.0)
- System.Text.Json (>= 4.7.2)
-
net5.0
- System.ComponentModel.Annotations (>= 5.0.0)
- System.IO (>= 4.3.0)
- System.Text.Json (>= 5.0.2)
-
net6.0
- System.ComponentModel.Annotations (>= 5.0.0)
- System.IO (>= 4.3.0)
- System.Text.Json (>= 6.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PromptPlus:
Package | Downloads |
---|---|
PromptPlusCommandDotNet
Integration with the Command DotNet package with interactive command-line for toolkit for C# with powerful controls and commands. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
4.2.0 | 347 | 11/14/2023 | |
4.1.0 | 257 | 10/4/2023 | |
4.0.5 | 273 | 9/15/2023 | |
4.0.4 | 234 | 8/7/2023 | |
4.0.3 | 140 | 7/31/2023 | |
4.0.2 | 158 | 7/25/2023 | |
4.0.1 | 146 | 7/21/2023 | |
4.0.0 | 156 | 7/20/2023 | |
3.3.3 | 1,051 | 2/26/2023 | |
3.3.2 | 243 | 2/24/2023 | |
3.3.1 | 217 | 2/23/2023 | |
3.3.0 | 220 | 2/22/2023 | |
3.2.2 | 240 | 2/16/2023 | |
3.2.1 | 246 | 2/14/2023 | |
3.2.0 | 280 | 1/20/2023 | |
3.1.0 | 286 | 1/16/2023 | |
3.0.0 | 559 | 1/28/2022 | |
2.1.0 | 1,407 | 11/11/2021 |