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,741 | 8/26/2018 |
1.4.1 | 2,003 | 2/8/2018 |
1.4.0-beta3 | 1,100 | 12/31/2017 |
1.4.0-beta2 | 925 | 11/23/2017 |
1.4.0-beta1 | 1,116 | 11/19/2017 |
1.3.4 | 1,323 | 11/8/2017 |
1.3.3 | 1,299 | 11/3/2017 |
1.3.2 | 1,293 | 10/29/2017 |
1.3.1 | 1,197 | 9/23/2017 |
1.3.0-beta3 | 1,128 | 9/5/2017 |
1.3.0-beta2 | 1,062 | 8/20/2017 |
1.3.0-beta | 927 | 8/20/2017 |
1.2.0 | 1,555 | 12/11/2016 |
1.2.0-beta3 | 1,042 | 12/10/2016 |
1.2.0-beta2 | 1,037 | 12/5/2016 |
1.2.0-beta | 1,040 | 12/2/2016 |
1.1.0 | 1,422 | 6/27/2016 |
1.0.1 | 1,708 | 7/9/2015 |
1.0.0.27 | 1,540 | 7/4/2015 |
1.0.0.26 | 1,518 | 6/19/2015 |
1.0.0.25 | 1,553 | 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.