Salt.System.CmdLineArgs.Parser.Core
1.0.1
dotnet add package Salt.System.CmdLineArgs.Parser.Core --version 1.0.1
NuGet\Install-Package Salt.System.CmdLineArgs.Parser.Core -Version 1.0.1
<PackageReference Include="Salt.System.CmdLineArgs.Parser.Core" Version="1.0.1" />
paket add Salt.System.CmdLineArgs.Parser.Core --version 1.0.1
#r "nuget: Salt.System.CmdLineArgs.Parser.Core, 1.0.1"
// Install Salt.System.CmdLineArgs.Parser.Core as a Cake Addin
#addin nuget:?package=Salt.System.CmdLineArgs.Parser.Core&version=1.0.1
// Install Salt.System.CmdLineArgs.Parser.Core as a Cake Tool
#tool nuget:?package=Salt.System.CmdLineArgs.Parser.Core&version=1.0.1
Command Line Parser
A simple, light-weight, .NET Core parser for command line arguments, which makes it possible to access parameters from the command line via well-defined .NET data structures.
Using the Project
You can always get the latest stable version from NuGet:
Install-Package Salt.System.CmdLineArgs.Parser.Core --version 1.0.0 # Using the Visual Studio Package Manager
dotnet add package Salt.System.CmdLineArgs.Parser.Core --version 1.0.0 # Using the .NET Command Line Interface
paket add Salt.System.CmdLineArgs.Parser.Core --version 1.0.0 # Using the packet Command Line Interface
This project was built using Visual Studio 2019 and .NET Core 3.1. To build the solution, clone the repository and build it in Visual Studio or using the command line tools of .NET Core:
git clone https://github.com/softwaresalt/command-line-parser-core
cd command-line-parser-core
dotnet build
dotnet test ./test/System.CommandLine.Parser.Tests.csproj
To reference in your own .NET Core project:
using System.CommandLine;
Parser parser = new Parser();
Building the Documentation
- Install doxygen.
- Add doxygen.exe to the command-line path.
- Select BuildDoc.bat in Solution Explorer, then Alt+Space (opens command window to file location).
- In the command window, run
refreshenv
- Run BuildDoc.bat just run
doxygen .\docs\Doxyfile
Contributions
I always greatly appreciate feedback and bug reports. To file a bug, please use GitHub's issue system. Alternatively, you can clone the repository and send me a pull request.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.