vertical-cli
1.0.0-dev.20260818.19
Prefix Reserved
This is a prerelease version of vertical-cli.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package vertical-cli --version 1.0.0-dev.20260818.19
NuGet\Install-Package vertical-cli -Version 1.0.0-dev.20260818.19
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="vertical-cli" Version="1.0.0-dev.20260818.19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="vertical-cli" Version="1.0.0-dev.20260818.19" />
<PackageReference Include="vertical-cli" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add vertical-cli --version 1.0.0-dev.20260818.19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: vertical-cli, 1.0.0-dev.20260818.19"
#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.
#:package vertical-cli@1.0.0-dev.20260818.19
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=vertical-cli&version=1.0.0-dev.20260818.19&prerelease
#tool nuget:?package=vertical-cli&version=1.0.0-dev.20260818.19&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
vertical-cli
Develop CLI applications using a rich argument binding framework.
Features
- Parses position arguments and GNU short and long format options and switches.
- Binds parsed argument values to strongly typed models using reflection-free source generation.
- Supports command hierarchy.
- Injects arguments using response file annotations.
- Provides a customizable help system.
- Defines a rich user input validation API.
- Supports dependency injection using the vertical-cli-dependencyinjection companion package.
Installation
$ dotnet pcakage add vertical-cli --prerelease
Quick start
// Define a command
var rootCommand = new RootCommand("app");
// Provide application logic
rootCommand.SetHandler<IOptions>(async (options, cancellationToken) =>
{
// TODO: perform application work and return an exit code
await LoginAsync(options.UserName, options.Password);
return 0;
});
// Create the application
var app = new CommandLineApplication(rootCommand);
// Configure the parser
app.ConfigureParser<IOptions>(parser => parser
.ParseOption(x => x.UserName)
.ParseOption(x => x.Password));
// Applies generated configuration
app.Configure();
// Run the application
return await app.RunAsync(args);
// Define the model for the command
[GeneratedBinding]
public interface IOptions
{
string UserName { get; }
string Password { get; }
}
Docs
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on vertical-cli:
| Package | Downloads |
|---|---|
|
vertical-cli-dependencyinjection
Command line argument parsing and binding framework with dependency injection support. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-dev.20260823.24 | 70 | 8/23/2026 |
| 1.0.0-dev.20260822.23 | 73 | 8/22/2026 |
| 1.0.0-dev.20260822.22 | 66 | 8/22/2026 |
| 1.0.0-dev.20260822.21 | 61 | 8/22/2026 |
| 1.0.0-dev.20260819.20 | 71 | 8/19/2026 |
| 1.0.0-dev.20260818.19 | 71 | 8/18/2026 |
| 1.0.0-dev.20260817.18 | 67 | 8/17/2026 |
| 1.0.0-dev.20260817.17 | 66 | 8/17/2026 |
| 1.0.0-dev.20260817.16 | 70 | 8/17/2026 |
| 1.0.0-dev.20260814.15 | 67 | 8/14/2026 |
| 1.0.0-dev.20260812.14 | 63 | 8/12/2026 |
| 1.0.0-dev.20260811.13 | 59 | 8/11/2026 |
| 1.0.0-dev.20260811.12 | 65 | 8/11/2026 |
| 1.0.0-dev.20260810.11 | 54 | 8/10/2026 |
| 1.0.0-dev.20260810.10 | 59 | 8/10/2026 |
| 1.0.0-dev.20260809.9 | 56 | 8/9/2026 |
| 1.0.0-dev.20251010.6 | 205 | 10/10/2025 |
| 1.0.0-dev.20251006.5 | 207 | 10/6/2025 |
| 1.0.0-dev.20250909.4 | 182 | 9/9/2025 |
| 1.0.0-dev.20250906.3 | 154 | 9/6/2025 |
Loading failed