← All products

Open-source developer tools

Build command-line tools
without the ceremony.

CoreVar.CommandLineInterface is a focused .NET framework for creating clear, maintainable command-line applications—from compact utilities to sophisticated developer tools.

Open source.NETAsync ready
corevar-cli — pwsh

PS> dotnet add package CoreVar.CommandLineInterface

info : PackageReference added to project.

PS> myapp deploy --environment production

✓ Configuration validated

✓ Deployment completed

PS>

01 / WHY IT EXISTS

Your users shouldn't have to
fight the command line.

A good CLI feels obvious: predictable commands, useful errors, and output that helps people move forward. The framework handles the repetitive plumbing so application code can stay focused on the work each command performs.

PredictableComposableTestable

Framework capabilities

The essentials for a
well-behaved CLI.

Practical building blocks that fit naturally into modern .NET applications and established engineering practices.

01

Commands, arguments & options

Define a command surface with structured parsing for the inputs your application expects.

deploy --region westus
02

Dependency injection

Use familiar .NET dependency-injection patterns to keep handlers modular and responsibilities clear.

services.AddCommand<Deploy>()
03

Asynchronous execution

Build responsive commands around the async programming model used throughout modern .NET.

await command.ExecuteAsync()
04

Errors people can act on

Turn invalid input and runtime failures into consistent, useful command-line feedback.

error: missing --output

Get started

Add it to your
.NET project.

Install the package, compose your commands, and keep the infrastructure around them lightweight.

NuGet packagePackage Manager
$ dotnet add package CoreVar.CommandLineInterface
01 Install02 Define commands03 Run

Open by default

Inspect it. Extend it.
Help make it better.

The source is available on GitHub. Explore the implementation, open an issue, or contribute an improvement for the broader .NET community.

Explore the repository

Need something more specific?

Let's build the right tool.

Start a conversation