Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes
Humanizer, it's a really useful library but the.Humanize()extension methods don't work with AOT, so have replaced them and other usages with direct code. Most of the other usages are pretty simple, the only one is the default branch name which I got GitHub Copilot to write me a reasonable replacement to sanitize branch names. It's also likely to go away in the future.Fixes #281
Part of a series of PRs that are adding support for AOT:
System.CommandLine#276Spectre.Console.Cli0.50.0 #280Octopus.Shellfishwith directly usingProcess#284Humanizer.Corev3 beta #286Humanizer#290--working-directoryalias #298