CommandLineUtils

Command line parsing and utilities for .NET

APACHE-2.0 License

Stars
2.2K
Committers
101

Bot releases are visible (Hide)

CommandLineUtils - 2.4.1

Published by natemcmaster about 5 years ago

Hot fix includes a workaround for NuGet/Home#8603, an issue affecting users in European, African, and Asian time zones only.

Changes:

  • Fix #277: disable deterministic NuGet packaging which causes failures for users in UTC >0 timezones [PR #278]
CommandLineUtils - 2.4.0

Published by natemcmaster about 5 years ago

Features and issues

  • Fix #227 by @ejball - ArgumentEscaper should escape empty string
  • PR #230 by @IanG - Attributes for files and directories that must not exist
  • Fix #221 by @vpkopylov - Use Pager for help text option only works on top-level help
  • PR #239 by @vpkopylov - Add check for subcommand cycle
  • Support C# 8.0 and nullable reference types - #245
  • Add async methods to CommandLineApplication
  • Fix #208 - make CommandLineApplication.ExecuteAsync actually asynchronous
  • Fix #153 - add async methods that accept cancellation tokens
  • Fix #111 - Handle CTRL+C by default
  • Fix #246 by @kyle-rader - Multi-line option descriptions do not indent correctly
  • Fix #253 - support calling CommandLineApplication.Execute multiple times

Changes:

Only reflects changes since 2.4 RC. See the complete list of changes since 2.3.4 here: https://github.com/natemcmaster/CommandLineUtils/compare/v2.3.4...v2.4.0

  • 76413af74c02225fd4bec03880d1bce4d527864e Update xml docs for 2.4 release
  • ea20a89267abd3e9a91ae3a27b3b1682a8977f9c fix: make RunCommandLineApplicationAsync actually async
  • 6b822fca4aed5a30654211b8b11d28c2cffa7267 test: add tests for .NET Core 3
  • ccc2b5bd9a82a53afab567609d6c5917dc14c248 docs: add 2.4 API reference
  • 20820efc2f2fe6b6e2bd55af3751a4c78f96c802 cleanup: build scripts and targets
  • 25b7a738b89bbab62d1f4a6f4c5f313bbc21b06d cleanup: releasenotes and azure-pipelines.yml
  • abdda8af6782dc318fc53de323361eb96282c495 cleanup: simplify code signing targets

This list of changes was auto generated.

CommandLineUtils - 2.4.0 Release Candidate

Published by natemcmaster about 5 years ago

https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/2.4.0-rc.103
https://www.nuget.org/packages/McMaster.Extensions.Hosting.CommandLine/2.4.0-rc.103

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • 8a238dfdac112dc70c3d276c0853b3affd7e663b docs: update 2.4 release notes for RC
  • d48b4df799279b9149c364ebc8680834794a0868 fix: reset state of commandline app, args, and options on each call of .Parse [ #253 ]
  • 6992e9bf1106d0931044aa8394ed3b58af58066d cleanup: fix compiler errors with latest version of C# 8 compiler
  • 95cf6bf73a1e6625ff219a09ed5a7c40c422d762 Update version to 2.4.0 RC
  • 3d08a2b9c385bc50c8d3afd80046131363d539f7 cleanup: Add analyzer for public API and revert an unintentional breaking change from 2.3 (#264)
  • 38a5c7675ef4b629237786993fa35ad7daaaae74 fix: don't dispose ManualResetEvent which might be used later [ #261 ]
  • a89c61f88942e79e0268e1dc36ac4ba883338d95 fixup! docs: generate and push to GH pages automatically
  • 8b261bda0422fff3525ac9621476109c2c03509d docs: generate and push to GH pages automatically
  • 088a8389a4c7c7f720df956feba3bae352c2299e docs: update CHANGELOG [ #246 ]
  • eb601314a8827bc738e6f1c8b2d108fed13efdb3 cleanup: update property in DefaultHelpTextGenerator for code style consistency
  • 5b097ada319ba7ddab753f61b73fe7784a374eb5 fix: wrap help text descriptions based on console width (#248)
  • e67dd33ac8a4e1c8f49c5e47e71e2df4efa49077 cleanup: update dependencies and branding to 2.4-beta
  • 1c632a16c7ec17ee5da652b1a7653058b6b4b99b cleanup: obsolete async API that doesn't have Async in the name
  • 988c426e9c205e230cb63ad99049ecd3b106d51f feat: support CTRL+C and unload events handling [ #111 ]
  • 431f273d2eb5ec37aaf593acd3c45b79dc618d0a feat: make CommandLineApplication asynchronous and add new async API [ #208, #153, #225 ]
  • 83b79dac81679c261362e0e5a0e0877cc9d4728a style: C# cleanup to use more C# 8 features, and fix a few analyzer warnings
  • ef6bdcda5317dc411fb5e435619e32e01a7739a9 chore: minor csproj cleanups
  • 833e9c223078edd2d3b23afdcf2753e0837a11dd style: run dotnet-format
  • 1ef731adbc44b26ab7e71747c15eae25dd2e9aa8 docs: Update changelog
  • cf1947b2d22d3b9a6d16b1ea1f914bbb2886aa5a feat: support C# 8 and nullable reference types (#245)
  • 8320e50f177764a8ea5c0e93578e535298db431e Add check for subcommand cycle (#239)
  • 08c676472d1e6482858cfab81c25c0d5b28a6f68 UsePagerForHelpText property is inherited (#237)
  • e6e0a36ffeecbfabb84546a3f9bab4f053aa8cb7 Add link to roadmap in README (#235)
  • f3eacc741221c48b74a8e9e186265340a2b8a5e2 Update stale.yml
  • bc33dd4111bc69ce1637863ca0dec1923a65ed30 Update no-response.yml
  • d198d8973a90174cb2b5528dfcbd1724cef2e9ac Update stale.yml
  • be230400aaae2f00b29dac005c1b59a386a42165 feat: Add validation attributes for files and directories that must not exist. (#230)
  • 1370b3a5002ecdb64718fe789dcceebb8f8c53d4 docs: Remove duplicate keyword in sample code (#231)
  • 8b5812291f4214544984aba5baa5afa073614374 Merge pull request #228 from ejball/escape-empty-args
  • 0ed609251f209bbaa0d5af6735b7d0e0e1b8c669 Escape empty arguments.

This list of changes was auto generated.

CommandLineUtils - 2.4.0-beta.99

Published by natemcmaster about 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • 3d08a2b9c385bc50c8d3afd80046131363d539f7 cleanup: Add analyzer for public API and revert an unintentional breaking change from 2.3 (#264)
  • 38a5c7675ef4b629237786993fa35ad7daaaae74 fix: don't dispose ManualResetEvent which might be used later [ #261 ]
  • a89c61f88942e79e0268e1dc36ac4ba883338d95 fixup! docs: generate and push to GH pages automatically
  • 8b261bda0422fff3525ac9621476109c2c03509d docs: generate and push to GH pages automatically
  • 088a8389a4c7c7f720df956feba3bae352c2299e docs: update CHANGELOG [ #246 ]
  • eb601314a8827bc738e6f1c8b2d108fed13efdb3 cleanup: update property in DefaultHelpTextGenerator for code style consistency
  • 5b097ada319ba7ddab753f61b73fe7784a374eb5 fix: wrap help text descriptions based on console width (#248)
  • e67dd33ac8a4e1c8f49c5e47e71e2df4efa49077 cleanup: update dependencies and branding to 2.4-beta
  • 1c632a16c7ec17ee5da652b1a7653058b6b4b99b cleanup: obsolete async API that doesn't have Async in the name
  • 988c426e9c205e230cb63ad99049ecd3b106d51f feat: support CTRL+C and unload events handling [ #111 ]
  • 431f273d2eb5ec37aaf593acd3c45b79dc618d0a feat: make CommandLineApplication asynchronous and add new async API [ #208, #153, #225 ]
  • 83b79dac81679c261362e0e5a0e0877cc9d4728a style: C# cleanup to use more C# 8 features, and fix a few analyzer warnings
  • ef6bdcda5317dc411fb5e435619e32e01a7739a9 chore: minor csproj cleanups
  • 833e9c223078edd2d3b23afdcf2753e0837a11dd style: run dotnet-format
  • 1ef731adbc44b26ab7e71747c15eae25dd2e9aa8 docs: Update changelog
  • cf1947b2d22d3b9a6d16b1ea1f914bbb2886aa5a feat: support C# 8 and nullable reference types (#245)
  • 8320e50f177764a8ea5c0e93578e535298db431e Add check for subcommand cycle (#239)
  • 08c676472d1e6482858cfab81c25c0d5b28a6f68 UsePagerForHelpText property is inherited (#237)
  • e6e0a36ffeecbfabb84546a3f9bab4f053aa8cb7 Add link to roadmap in README (#235)
  • f3eacc741221c48b74a8e9e186265340a2b8a5e2 Update stale.yml
  • bc33dd4111bc69ce1637863ca0dec1923a65ed30 Update no-response.yml
  • d198d8973a90174cb2b5528dfcbd1724cef2e9ac Update stale.yml
  • be230400aaae2f00b29dac005c1b59a386a42165 feat: Add validation attributes for files and directories that must not exist. (#230)
  • 1370b3a5002ecdb64718fe789dcceebb8f8c53d4 docs: Remove duplicate keyword in sample code (#231)
  • 8b5812291f4214544984aba5baa5afa073614374 Merge pull request #228 from ejball/escape-empty-args
  • 0ed609251f209bbaa0d5af6735b7d0e0e1b8c669 Escape empty arguments.

This list of changes was auto generated.

CommandLineUtils - 2.4.0-beta.81

Published by natemcmaster about 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • e67dd33ac8a4e1c8f49c5e47e71e2df4efa49077 cleanup: update dependencies and branding to 2.4-beta
  • 1c632a16c7ec17ee5da652b1a7653058b6b4b99b cleanup: obsolete async API that doesn't have Async in the name
  • 988c426e9c205e230cb63ad99049ecd3b106d51f feat: support CTRL+C and unload events handling [ #111 ]
  • 431f273d2eb5ec37aaf593acd3c45b79dc618d0a feat: make CommandLineApplication asynchronous and add new async API [ #208, #153, #225 ]
  • 83b79dac81679c261362e0e5a0e0877cc9d4728a style: C# cleanup to use more C# 8 features, and fix a few analyzer warnings
  • ef6bdcda5317dc411fb5e435619e32e01a7739a9 chore: minor csproj cleanups
  • 833e9c223078edd2d3b23afdcf2753e0837a11dd style: run dotnet-format
  • 1ef731adbc44b26ab7e71747c15eae25dd2e9aa8 docs: Update changelog
  • cf1947b2d22d3b9a6d16b1ea1f914bbb2886aa5a feat: support C# 8 and nullable reference types (#245)
  • 8320e50f177764a8ea5c0e93578e535298db431e Add check for subcommand cycle (#239)
  • 08c676472d1e6482858cfab81c25c0d5b28a6f68 UsePagerForHelpText property is inherited (#237)
  • e6e0a36ffeecbfabb84546a3f9bab4f053aa8cb7 Add link to roadmap in README (#235)
  • f3eacc741221c48b74a8e9e186265340a2b8a5e2 Update stale.yml
  • bc33dd4111bc69ce1637863ca0dec1923a65ed30 Update no-response.yml
  • d198d8973a90174cb2b5528dfcbd1724cef2e9ac Update stale.yml
  • be230400aaae2f00b29dac005c1b59a386a42165 feat: Add validation attributes for files and directories that must not exist. (#230)
  • 1370b3a5002ecdb64718fe789dcceebb8f8c53d4 docs: Remove duplicate keyword in sample code (#231)
  • 8b5812291f4214544984aba5baa5afa073614374 Merge pull request #228 from ejball/escape-empty-args
  • 0ed609251f209bbaa0d5af6735b7d0e0e1b8c669 Escape empty arguments.

This list of changes was auto generated.

CommandLineUtils - 2.4.0-alpha.70

Published by natemcmaster over 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • cf1947b2d22d3b9a6d16b1ea1f914bbb2886aa5a feat: support C# 8 and nullable reference types (#245)
  • 8320e50f177764a8ea5c0e93578e535298db431e Add check for subcommand cycle (#239)
  • 08c676472d1e6482858cfab81c25c0d5b28a6f68 UsePagerForHelpText property is inherited (#237)
  • be230400aaae2f00b29dac005c1b59a386a42165 feat: Add validation attributes for files and directories that must not exist. (#230)
  • 1370b3a5002ecdb64718fe789dcceebb8f8c53d4 docs: Remove duplicate keyword in sample code (#231)
  • 0ed609251f209bbaa0d5af6735b7d0e0e1b8c669 Escape empty arguments.

This list of changes was auto generated.

CommandLineUtils - 2.3.4

Published by natemcmaster over 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • cf83608801e780ef98f5fe1527ca141a6454cc36 Finish 2.3.4 patch changes
  • daf989b3b20914d02ea78b4472c1d4c8f37bfa42 Rearrange the order that commands are listed in the USAGE block and list all the commands on the line (#224)
  • 84e9baf293e372812483d7779fee5debca8d68a8 Fix #218 - handle options with multiple characters in the short option name when only specified in a subcommand

This list of changes was auto generated.

CommandLineUtils - 2.3.3

Published by natemcmaster over 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • 54427488df324809cf108a806e0abb00bf6e509a Option to use Pager to display help text (#216)
CommandLineUtils - 2.3.2

Published by natemcmaster over 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • 334d9054a7835807af72c42f85243497ed25032d Finish changes for v2.3.2
  • 7272f72939808a51ee9f610e183430c1f8eadb6b Reduce number of times VSO commands are issued
  • f93ef9f90d18716f2e6e395e58c740bed04ef3ed Update azure-pipelines.yml for Azure Pipelines
  • 43bc08b074ee9ed1e6b3b45e4babe4bd8e1169d9 Update CHANGELOG
  • b39a5e584f43971d1675471950ce1dd8d186b73c Update build counter to monotonically increase
  • ce921c1bd413786dd7b503e343f92e50476a480c Fix #211 - add support for class level validation attributes (#212)
  • ce715e8476f486f6d964e31c62db54465cee5aa6 Fix #207 - Additional command names are now case-sensitive (#210)
  • f0e482674b9125e4319eca2608a4009d0f33848f Fix issues with running PRs on Azure Pipelines
  • 60c807527b80cd36675143aeaad02e5b3e92ce1a Bump version to 2.3.2
  • f7d50f2e157d9286c02d2b46f16dcf04bb31f45c Revert "Update source-link and add package lock files"
  • 0478c23f7f17b33400e190345666d16f5560031c Update source-link and add package lock files
  • 1450132ec8fc2f77c889555cea9e41aa88f85e1f Update azure-pipelines.yml

This list of changes was auto generated.

CommandLineUtils - 2.3.1

Published by natemcmaster over 5 years ago

See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details.

Changes:

  • 876f89e9bcdbbf3cafb4773977b25d8ab2388713 Finish 2.3.1 patch
  • 48977707c8a9ad61988e659c28b186291795a2a7 Remove explicit FileVersion property
  • 3c60bf0300771b3517fc318e4bdc403a04da7bee Add tags automatically
  • fe8ecb2135e320aa15d20d099913a68bee628492 Fix for invalid SemVer 2 version
  • ca93b753da50d5c75b541293cee04fc2ef5e9905 Add Azure Pipelines definition
  • 2c1b7b8466997ef1286b5bb3aff3b624beacbdd5 Fix #203 - fix InvalidOperationException thrown from Pager on Mono

This list of changes was auto generated.

CommandLineUtils - v2.3.0

Published by natemcmaster almost 6 years ago

CommandLineUtils - 2.3.0 Release Candidate

Published by natemcmaster almost 6 years ago

CommandLineUtils - v2.3.0-beta

Published by natemcmaster almost 6 years ago

CommandLineUtils - v2.3.0-alpha

Published by natemcmaster about 6 years ago

CommandLineUtils - v2.2.5

Published by natemcmaster over 6 years ago

CommandLineUtils - v2.2.4

Published by natemcmaster over 6 years ago

CommandLineUtils - v2.2.3

Published by natemcmaster over 6 years ago

CommandLineUtils - v2.2.2

Published by natemcmaster over 6 years ago

CommandLineUtils -

Published by natemcmaster over 6 years ago