McMaster.Extensions.CommandLineUtils 2.3.0

Command-line parsing API and utilities for console applications. Commonly used types: McMaster.Extensions.CommandLineUtils.CommandLineApplication McMaster.Extensions.CommandLineUtils.CommandOption McMaster.Extensions.CommandLineUtils.IConsole McMaster.Extensions.CommandLineUtils.Prompt McMaster.Extensions.CommandLineUtils.ArgumentEscaper A community-maintained fork of Microsoft.Extensions.CommandLineUtils, plus many enhancements.

Showing the top 20 packages that depend on McMaster.Extensions.CommandLineUtils.

Packages Downloads
FlubuCore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code. Documentation can be found at: https://github.com/dotnetcore/FlubuCore Detailed examples can be found at: https://github.com/dotnetcore/FlubuCore.Examples
1
FlubuCore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code. Documentation can be found at: https://github.com/dotnetcore/FlubuCore Detailed examples can be found at: https://github.com/dotnetcore/FlubuCore.Examples
2
FlubuCore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code. Documentation can be found at: https://github.com/dotnetcore/FlubuCore Detailed examples can be found at: https://github.com/dotnetcore/FlubuCore.Examples
3

## Enhancements: * Support the POSIX convention for cluster multiple options. For example, `-ixd` is treated the same as `-i -x -d`. * @bjorg: support SingleOrNoValue notation. `--option[:value]` * New type: `Pager`. Provides a simple interaction model for displaying console output in a pager. * Display help text using the `less` pager on macOS/Linux. * Make suggestions when invalid options or commands are used, but there is a valid one that is similar. (Thanks to @MadbHatter for doing the initial work on this.) * Add support for subcommand aliases. Commands can be given multiple names. * Obsolete the constructor of `[Subcommand]` which takes a string. * Infer subcommand names from the type name * @lvermeulen: Sort subcommands by name in help text. This can be disabled with `DefaultHelpTextGenerator.SortCommandsByName`. * @jcaillon: Add API for `UnrecognizedCommandParsingException` which includes suggestions for similar options or commands. * @TheConstructor: add CommandLineApplication.GetValidationResult() ## Bugs fixed: * Duplicate subcommand names used to cause undefined behavior. Now, attempting to add a duplicate subcommand name or aliases will cause the library to throw before the app can execute. * Fix bug in subcommand name inference. When not specified, the subcommand always matched the entry assembly name. In this update, this convention only applies to the parent command. * Add generic overloads of `.IsRequired()` for `CommandOption<T>` and `CommandArgument<T>`. * @handcraftedsource: handled nested HelpOptions (fixes #86 - InvalidOperationException when multiple help options were defined) See more details here: https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md#v230

.NET Framework 4.5

.NET Standard 1.6

.NET Standard 2.0

Version Downloads Last updated
5.1.0 0 2026/4/5
5.0.1 0 2026/2/8
5.0.0 0 2026/1/21
5.0.0-beta.348 0 2026/1/12
5.0.0-beta.325 0 2025/12/28
4.1.1 0 2024/2/19
4.1.0 1 2025/4/29
4.0.2 0 2022/11/19
4.0.1 0 2022/2/1
4.0.0 0 2021/12/27
4.0.0-beta.74 1 2026/4/10
4.0.0-beta.56 0 2021/1/17
3.1.0 0 2021/1/10
3.1.0-rc.371 1 2026/4/10
3.1.0-beta.356 0 2020/9/13
3.1.0-beta.336 0 2020/8/28
3.0.0 0 2020/3/29
3.0.0-rc.289 0 2020/3/21
3.0.0-alpha.268 1 2026/4/10
2.6.0 0 2020/3/8
2.5.1 0 2020/2/7
2.5.0 0 2020/1/2
2.4.4 0 2019/11/11
2.4.3 0 2019/11/1
2.4.2 0 2019/9/24
2.4.1 0 2019/9/18
2.4.0 0 2019/9/14
2.3.4 0 2019/4/11
2.3.3 0 2019/3/11
2.3.2 0 2019/2/5
2.3.1 0 2019/1/19
2.3.0 1 2025/4/29
2.2.5 0 2018/7/2
2.2.4 0 2018/5/25
2.2.3 0 2018/5/11
2.2.2 0 2018/4/28
2.2.1 0 2018/4/11
2.2.0 0 2018/3/31
2.2.0-rc 0 2018/3/23
2.2.0-beta 0 2018/3/8
2.2.0-alpha 0 2018/2/20
2.1.1 0 2017/12/28
2.1.0 0 2017/12/13
2.1.0-rc 1 2026/4/10
2.1.0-beta 1 2026/4/10
2.1.0-alpha 0 2017/11/11
2.0.1 0 2017/10/13
2.0.0 0 2017/9/16