RunicCommandLine 0.1.0-preview.5.1

This is a prerelease version of RunicCommandLine.
dotnet add package RunicCommandLine --version 0.1.0-preview.5.1
                    
NuGet\Install-Package RunicCommandLine -Version 0.1.0-preview.5.1
                    
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="RunicCommandLine" Version="0.1.0-preview.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RunicCommandLine" Version="0.1.0-preview.5.1" />
                    
Directory.Packages.props
<PackageReference Include="RunicCommandLine" />
                    
Project file
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 RunicCommandLine --version 0.1.0-preview.5.1
                    
#r "nuget: RunicCommandLine, 0.1.0-preview.5.1"
                    
#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 RunicCommandLine@0.1.0-preview.5.1
                    
#: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=RunicCommandLine&version=0.1.0-preview.5.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RunicCommandLine&version=0.1.0-preview.5.1&prerelease
                    
Install as a Cake Tool

RunicCommandLine

RunicCommandLine is the BCL-only, net10.0 command kernel. It keeps parser and hosting framework types outside the public model while providing an immutable catalog, deterministic portable syntax adapter, closed typed handler execution, source-generated result-codec seams, and human/JSON output dispatch.

Catalogs are built explicitly with CommandCatalogBuilder. Every executable command registers a closed options binder, handler factory, and result codec; the runtime performs no assembly scanning, reflection activation, or arbitrary object serialization. Invalid names, aliases, option spellings, arity layouts, and missing registrations fail together in deterministic definition order.

CommandExecutor creates exactly one ICommandExecutionScope for every valid parsed invocation. Cancellation and unexpected failures become stable semantic outcomes, the scope is disposed exactly once before presentation, and the exit policy is checked up front so only success can map to process exit code zero.

The package does not reference a third-party parser or Generic Host. Hosting composition remains a Wave C adapter concern.

Catalog diagnostics

Catalog validation reports all issues in registration order through stable IDs:

ID Meaning
RCLI0002 Invalid or reserved command name/alias
RCLI0003 Empty description localization key
RCLI0004 Duplicate sibling command spelling
RCLI0005 Invalid option ID
RCLI0006 Duplicate option ID
RCLI0007 Invalid or reserved option spelling
RCLI0008 Duplicate option spelling
RCLI0009 Invalid option repeat policy
RCLI0010 Missing closed options binder
RCLI0011 Missing closed handler factory
RCLI0012 Missing closed result codec
RCLI0013 Invalid argument name or ID
RCLI0014 Duplicate argument ID
RCLI0015 Required argument follows an optional argument
RCLI0016 Non-final argument has unbounded arity
RCLI0017 Result codec lacks a payload identity or generated metadata
Product 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RunicCommandLine:

Package Downloads
RunicCommandLine.Hosting

Neutral command-line launch classification and execution bridge for application hosts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.5.1 76 8/11/2026