Typin.Core 3.0.0-dev-00013

This is a prerelease version of Typin.Core.
There is a newer version of this package available.
See the version list below for details.
Install-Package Typin.Core -Version 3.0.0-dev-00013
dotnet add package Typin.Core --version 3.0.0-dev-00013
<PackageReference Include="Typin.Core" Version="3.0.0-dev-00013" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Typin.Core --version 3.0.0-dev-00013
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Typin.Core, 3.0.0-dev-00013"
#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.0.0-dev-00013&prerelease

// Install Typin.Core as a Cake Tool
#tool nuget:?package=Typin.Core&version=3.0.0-dev-00013&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. See also a Typin library.


THIS IS A DEVELOPER PREVIEW OF Typin.Core 3.0.0! SOME FEATURES MAY NOT WORK!


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.

logo

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,
  • 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 messages,
  • DI injectable ICliContext with lots of useful data,
  • Manual property in CommandAttribute that can be used to provide a long, extended description of a commmand,
  • Custom help writer.
  • Custom modes support.
  • Logging with Microsoft.Extensions.Logging.
  • Optional option names by providing a 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).

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
Typin

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