Typin.Core 3.1.0-dev-00014

This is a prerelease version of Typin.Core.
Install-Package Typin.Core -Version 3.1.0-dev-00014
dotnet add package Typin.Core --version 3.1.0-dev-00014
<PackageReference Include="Typin.Core" Version="3.1.0-dev-00014" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Typin.Core --version 3.1.0-dev-00014
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Typin.Core, 3.1.0-dev-00014"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Typin.Core as a Cake Addin
#addin nuget:?package=Typin.Core&version=3.1.0-dev-00014&prerelease

// Install Typin.Core as a Cake Tool
#tool nuget:?package=Typin.Core&version=3.1.0-dev-00014&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

See wiki for detailed instructions and documentation. See CHANGELOG.md for a complete list of changes. Visit Typin repo for examples and source code. Visit TypinExamples website for interactive examples. See also a Typin library.


Typin, pronounced as "Type in", is a simple to use, yet powerful framework for building both interactive command line applications and command line tools (Type in == Type interactively). Typin is not just a parser but a complete application framework. Its main goal is to provide an enjoyable, similar to ASP.NET Core, development experience when building command line applications.


Typin is build based on the source code of CliFx, but it wants to be a ASP.NET Core for CLI like Cocona but faster. It has many additional features compared to CliFx:

  • Interactive mode with auto-completion, parameter escaping with ", and support for user-defined shortcuts,
  • Middleware pipeline,
  • Custom directives that can be used as either flags (IDirective) or dynamic pipeline extensions (IPipelinedDirective),
  • IOptionFallbackProvider for custom fallback providers instead of only environment variable fallback,
  • Build-in DI support with Microsoft.Extensions.DependencyInjection that is used accross entire framework,
  • Build-in options support with Microsoft.Extensions.Options,
  • Ability to modify exception handling with one or more exception handlers,
  • Ability to execute commands from other commands or services with ICliCommandExecutor (NOT RECOMMENDED, except for custom CLI mode classes),
  • DI injectable ICliContext with lots of useful data,
  • Manual property in CommandAttribute that can be used to provide a long, extended description of a command,
  • Custom help writer.
  • Custom modes support and application lifetime management.
  • Startup message color personalization through a callback method.
  • Console IO wrapper classes (StandardStreamReader and StandardStreamWriter) and IO interfaces.
  • Logging with Microsoft.Extensions.Logging.
  • Optional option and parameter names by automatically generated kebab case name.
  • Better char parsing: support for the following escape sequences: '\0', '\a', '\b', '\f', '\n', '\r', '\t', '\v', '\\', and Unicode escape e.g. \u006A).
  • Native support for parsing Half type in .NET 5 targeted applications.
  • Validation can be easily added with FluentValidation and a middleware.
  • Console input/output targeted extensions through IStandardInput, IStandardOuput, IStandardError, IStandardOutputAndError, IStandardRedirectableConsoleStream, StandardStreamReader, StandardStreamWriter.

Overall, Typin is a framework that is much more flexible and rich with both features and metadata about defined commands etc.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Typin.Core:

Package Downloads

Declarative framework for interactive CLI applications

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0-dev-00014 165 5/20/2021
3.0.4 175 9/16/2021
3.0.3 247 4/6/2021
3.0.2 184 4/5/2021
3.0.1 322 3/22/2021
3.0.0 210 2/23/2021
3.0.0-dev-00013 193 1/6/2021
3.0.0-dev-00010 284 12/12/2020
3.0.0-dev-00007 282 12/6/2020
3.0.0-dev-00006 234 11/17/2020
3.0.0-dev-00003 322 11/8/2020
3.0.0-dev-00002 325 11/7/2020