fix: Sort CFs alphabetically in CLI listing

snyk
Robert Dailey 1 year ago
parent 3f393d9894
commit 7358521a7a

@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- Sort CFs alphabetically in `--list-custom-formats`
### Fixed
- Releases now retain executable permissions on Linux and macOS.

@ -17,6 +17,7 @@ public class GuideDataLister : IGuideDataLister
_console.Output.WriteLine("\nList of Custom Formats in the TRaSH Guides:");
var categories = customFormats
.OrderBy(x => x.Name)
.ToLookup(x => x.Category)
.OrderBy(x => x.Key);

Loading…
Cancel
Save