Menu

1 / 2

Argument Parsing and Command Routing for .NET CLI Tools - Kiwify.Kiwi.CLI

DEV Community: csharp·Ajay Jain·6 months ago
#93rMX3s9
#dev#command#version#string#article
Reading 0:00
15s threshold

Part of the Kiwi Foundation

Kiwify.Kiwi.CLI is the argument-parsing and command-routing layer of the Kiwi Foundation - a trio of libraries ( Presentation , Renderer , CLI ) that together provide composable infrastructure for building .NET command-line and operational tooling applications.

CLI sits above Presentation: it uses IOutput and StyledConsole to format help text and validation errors. The dependency flows one way: CLI → Presentation. Renderer composes alongside CLI when applications need structured-data rendering, reporting, or multi-format output.

Source and installation

GitHub:

NuGet:

dotnet add package Kiwify.Kiwi.CLI dotnet add package Kiwify.Kiwi.CLI.Declarative # attribute-based command definition dotnet add package Kiwify.Kiwi.CLI.Configuration # IConfiguration bridge dotnet add package Kiwify.Kiwi.CLI.DependencyInjection # DI command resolver

Enter fullscreen mode

Exit fullscreen mode

Design philosophy

CLI is built around the principle that command objects should be ordinary C#…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.