ConsoleToolkit 1.4.0-beta3
See the version list below for details.
dotnet add package ConsoleToolkit --version 1.4.0-beta3
NuGet\Install-Package ConsoleToolkit -Version 1.4.0-beta3
<PackageReference Include="ConsoleToolkit" Version="1.4.0-beta3" />
paket add ConsoleToolkit --version 1.4.0-beta3
#r "nuget: ConsoleToolkit, 1.4.0-beta3"
// Install ConsoleToolkit as a Cake Addin #addin nuget:?package=ConsoleToolkit&version=1.4.0-beta3&prerelease // Install ConsoleToolkit as a Cake Tool #tool nuget:?package=ConsoleToolkit&version=1.4.0-beta3&prerelease
A library providing the messy bits of console applications.
This package provides a framework for building console applications, improved handling of input and output to the console, and a rich command line parsing infrastructure.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 13,676 | 8/26/2018 |
1.4.1 | 1,975 | 2/8/2018 |
1.4.0-beta3 | 1,099 | 12/31/2017 |
1.4.0-beta2 | 924 | 11/23/2017 |
1.4.0-beta1 | 1,115 | 11/19/2017 |
1.3.4 | 1,318 | 11/8/2017 |
1.3.3 | 1,296 | 11/3/2017 |
1.3.2 | 1,290 | 10/29/2017 |
1.3.1 | 1,194 | 9/23/2017 |
1.3.0-beta3 | 1,126 | 9/5/2017 |
1.3.0-beta2 | 1,061 | 8/20/2017 |
1.3.0-beta | 926 | 8/20/2017 |
1.2.0 | 1,545 | 12/11/2016 |
1.2.0-beta3 | 1,041 | 12/10/2016 |
1.2.0-beta2 | 1,036 | 12/5/2016 |
1.2.0-beta | 1,039 | 12/2/2016 |
1.1.0 | 1,419 | 6/27/2016 |
1.0.1 | 1,705 | 7/9/2015 |
1.0.0.27 | 1,537 | 7/4/2015 |
1.0.0.26 | 1,515 | 6/19/2015 |
1.0.0.25 | 1,548 | 5/12/2015 |
Added the ability to specify global options that apply to all commands, but only on the command line. You can specify these options for any non-interactive command, or on the command line when starting an interactive session but not on commands issued interactively.
An example of where this would be useful is if it is possible to specify an option thas has an effect on objects (such as specifying an environment) that are registered as injectable into command handlers. In non-interactive mode, these objects will only be injected once, and therfore the global option may
safely be used to alter them. In an interactive mode, however, the injectable objects can only be created once, at the start of the session, so it would not be possible to honour the global options on individual interactive commands, so they should not
be valid. Alternative methods of producing the same behaviour require multiple versions of the same command (interactive and non-interactive) which is not convenient or desirable.
Global options can only be specified for CommandDrivenApplications, general ConsoleApplications do not need the concept, and interactive only ConsoleApplications can already implement the feature.