Cli.NET
2.2.0-alpha
This is a prerelease version of Cli.NET.
dotnet add package Cli.NET --version 2.2.0-alpha
NuGet\Install-Package Cli.NET -Version 2.2.0-alpha
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="Cli.NET" Version="2.2.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cli.NET --version 2.2.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cli.NET, 2.2.0-alpha"
#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 Cli.NET as a Cake Addin #addin nuget:?package=Cli.NET&version=2.2.0-alpha&prerelease // Install Cli.NET as a Cake Tool #tool nuget:?package=Cli.NET&version=2.2.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cli.NET
CLI.NET is a library for creating command line interfaces, command listeners and scripting languages quickly.
Example
using Cli.NET.Actions;
using Cli.NET.Tools;
var container = new CommandContainer();
container.Register(new()
{
{ "exit", new ExitCommand() },
{ "echo", new EchoCommand() },
{ "sum", new SumCommand() },
{ "clear", new ClearCommand() },
{ "cls", new ClearCommand() }
});
container.WaitForNextCommand();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Cli.NET:
Package | Downloads |
---|---|
MelonRuntime.WebServices
Provides features to create and host web applications with Melon. |
|
MelonRuntime.ProjectGenerator
Contains tools to generate Melon Runtime projects using schemas. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Cli.NET:
Repository | Stars |
---|---|
scarletquasar/MelonRuntime
✨ .NET-based JavaScript runtime focused in rapid prototyping of projects, using minimal dependencies and functional programming
|
Version | Downloads | Last updated |
---|---|---|
2.2.0-alpha | 1,556 | 6/17/2022 |
2.1.1 | 666 | 6/17/2022 |
2.1.0 | 518 | 6/16/2022 |