![]() |
VOOZH | about |
dotnet add package ConsoleTools.Commando.Parsing --version 2.1.0
NuGet\Install-Package ConsoleTools.Commando.Parsing -Version 2.1.0
<PackageReference Include="ConsoleTools.Commando.Parsing" Version="2.1.0" />
<PackageVersion Include="ConsoleTools.Commando.Parsing" Version="2.1.0" />Directory.Packages.props
<PackageReference Include="ConsoleTools.Commando.Parsing" />Project file
paket add ConsoleTools.Commando.Parsing --version 2.1.0
#r "nuget: ConsoleTools.Commando.Parsing, 2.1.0"
#:package ConsoleTools.Commando.Parsing@2.1.0
#addin nuget:?package=ConsoleTools.Commando.Parsing&version=2.1.0Install as a Cake Addin
#tool nuget:?package=ConsoleTools.Commando.Parsing&version=2.1.0Install as a Cake Tool
This is an MVVM presentation layer framework that helps you create a CLI (command line interface).
ConsoleTools.Commando.Setup.AutofacConsoleTools.Commando package will be automatically included.Application.Application application = ApplicationBuilder.Create()
.RegisterCommandsFrom(typeof(ReadCommand).Assembly) // Provide here the assembly containing your commands.
.Build();
await application.RunAsync(args);
[NamedCommand("read", Description = "Display the content of a text file.")]
internal class ReadCommand : ICommand
{
[NamedParameter("file", ShortName = 'f', Description = "The full path of the file.")]
public string FilePath { get; set; }
public Task Execute()
{
...
}
}
https://github.com/lastunicorn/ConsoleTools.Commando/discussions
I appreciate any opinion or suggestion:
I'm looking forward to hearing from you.
If you like my work and want to support me, you can buy me a coffee:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on ConsoleTools.Commando.Parsing:
| Package | Downloads |
|---|---|
|
ConsoleTools.Commando.Setup.Microsoft
A setup package for Console Tools Commando. Uses Microsoft Dependency Injection to easily setup the application. |
|
|
ConsoleTools.Commando.Setup.Autofac
A setup package for Console Tools Commando. Uses Autofac to easily setup the application. |
|
|
ConsoleTools.Commando.Setup.Ninject
A setup package for Console Tools Commando. Uses Ninject to easily setup the application. |
|
|
ConsoleTools.Commando.DependencyInjection.Ninject
A setup package for Console Tools Commando. Uses Ninject to easily setup the application. |
|
|
ConsoleTools.Commando.Builder.Microsoft
A setup package for Console Tools Commando. Uses Microsoft Dependency Injection to easily setup the application. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.0 | 484 | 8/17/2024 |
| 2.0.0 | 521 | 9/29/2023 |
| 2.0.0-beta.5 | 232 | 6/19/2023 |
| 2.0.0-beta.4 | 200 | 6/18/2023 |
| 2.0.0-beta.3 | 228 | 5/18/2023 |
| 2.0.0-beta.2 | 259 | 5/17/2023 |
| 2.0.0-beta | 272 | 5/16/2023 |
| 2.0.0-alpha | 273 | 5/15/2023 |