fix: Improve display of version number on CLI

spectre-console-remove-di-hacks
Robert Dailey 5 months ago
parent a4dc3c58de
commit 89a64ab01c

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The app data directory on OSX has changed. It now lives in `Library/Application Support/recyclarr`
instead of `~/.config/recyclarr`. Recyclarr will attempt to move this directory when run. If it
can't, then manual intervention is needed by users (e.g. `recyclarr migrate`).
- Slightly improved display of version number when using `-v` option.
### Fixed

@ -38,6 +38,8 @@ internal static class Program
config.Settings.StrictParsing = true;
config.SetApplicationName("recyclarr");
config.SetApplicationVersion(
$"v{GitVersionInformation.SemVer} ({GitVersionInformation.FullBuildMetaData})");
var interceptor = new CliInterceptor(logLevelSwitch, appDataPathProvider);
interceptor.OnIntercepted.Subscribe(_ => OnAppInitialized());

Loading…
Cancel
Save