From c6124083f1b0e02be45e14511766b01bacc60281 Mon Sep 17 00:00:00 2001 From: Scott Holodak Date: Mon, 30 Oct 2023 16:00:54 -0400 Subject: [PATCH] CommandLine WiP --- Directory.Build.props | 8 +- Directory.Build.targets | 2 +- Sholo.ruleset | 9 +- .../ApplicationNameAndVersion.cs | 15 +- .../ContainerizedAppOptions.cs | 11 +- .../ContainerizedHostBuilder.cs | 183 +++++++++++------- .../GlobalUsings.cs | 3 + .../HostBuilderContextExtensions.cs | 25 ++- .../HostBuilderExtensions.cs | 73 ++++--- .../Sholo.CommandLine.Containers/ISplash.cs | 8 + .../LoggingBuilderExtensions.cs | 27 --- .../Sholo.CommandLine.Containers.csproj | 17 +- Source/Sholo.CommandLine.Containers/Splash.cs | 32 +++ .../SplashService.cs | 30 +++ .../SplashService/ISplash.cs | 11 -- .../SplashService/Splash.cs | 26 --- .../SplashService/SplashService.cs | 31 --- Tests/Directory.Build.props | 11 +- .../Sholo.CommandLine.Test.csproj | 2 +- 19 files changed, 270 insertions(+), 254 deletions(-) create mode 100644 Source/Sholo.CommandLine.Containers/GlobalUsings.cs create mode 100644 Source/Sholo.CommandLine.Containers/ISplash.cs delete mode 100644 Source/Sholo.CommandLine.Containers/LoggingBuilderExtensions.cs create mode 100644 Source/Sholo.CommandLine.Containers/Splash.cs create mode 100644 Source/Sholo.CommandLine.Containers/SplashService.cs delete mode 100644 Source/Sholo.CommandLine.Containers/SplashService/ISplash.cs delete mode 100644 Source/Sholo.CommandLine.Containers/SplashService/Splash.cs delete mode 100644 Source/Sholo.CommandLine.Containers/SplashService/SplashService.cs diff --git a/Directory.Build.props b/Directory.Build.props index 20eb14a..0b94847 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -26,10 +26,10 @@ - - - - + + + + diff --git a/Directory.Build.targets b/Directory.Build.targets index e603de4..2f6a80a 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -7,7 +7,7 @@ - preview + preview.0