CLI - Command Line Interface library
ITGlobal.CLI
is a powerful library to build used-friendly command-line applications.
Features
Cross-platform
ITGlobal CLI
supports:
- .NET 4.5
- .NET Core (
netstandard2.0
)
It runs on Windows, Linux or MacOS.
Core features
Command line parser
- Switches
- Options
- Positional arguments
- Commands (including nested commands)
- Value parsers
- Built-in help
- Parser configuration options
ASCII tables
Terminal live output
Installing
All you need is to install a ITGlobal.CLI
NuGet package into your project:
Using dotnet CLI
dotnet add package ITGlobal.CLI
Using Package Manager Console in Visual Studio
Install-Package ITGlobal.CLI
Manually in .csproj file
<Project Sdk="Microsoft.NET.Sdk">
<!-- ... -->
<ItemGroup>
<PackageReference Include="ITGlobal.CLI" Version="3.0.29" />
</ItemGroup>
<!-- ... -->
</Project>