From eaa1ceb840439bdc48bb3832ea08f6984cd0cbad Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sat, 11 May 2024 10:35:55 +0400 Subject: [PATCH] fix: Moved CLI. --- OpenApiGenerator.sln | 14 ++++++-------- .../Commands/GenerateCommand.cs | 0 src/{apps => libs}/OpenApiGenerator.Cli/Helpers.cs | 0 .../OpenApiGenerator.Cli.csproj | 2 +- src/{apps => libs}/OpenApiGenerator.Cli/Program.cs | 0 5 files changed, 7 insertions(+), 9 deletions(-) rename src/{apps => libs}/OpenApiGenerator.Cli/Commands/GenerateCommand.cs (100%) rename src/{apps => libs}/OpenApiGenerator.Cli/Helpers.cs (100%) rename src/{apps => libs}/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj (90%) rename src/{apps => libs}/OpenApiGenerator.Cli/Program.cs (100%) diff --git a/OpenApiGenerator.sln b/OpenApiGenerator.sln index 8b91adb6d1..76a24a54eb 100644 --- a/OpenApiGenerator.sln +++ b/OpenApiGenerator.sln @@ -32,9 +32,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenApiGenerator.Core", "sr EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenApiGenerator.UnitTests", "src\tests\OpenApiGenerator.UnitTests\OpenApiGenerator.UnitTests.csproj", "{88BE4AC5-6E7B-46FA-B656-5CCE8BF9F18E}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "apps", "apps", "{5682F795-57B4-45E4-B4C7-FE225A5A68D2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenApiGenerator.Cli", "src\apps\OpenApiGenerator.Cli\OpenApiGenerator.Cli.csproj", "{BCDEE82E-2A5E-43FB-A003-8608D1489D55}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenApiGenerator.Cli", "src\libs\OpenApiGenerator.Cli\OpenApiGenerator.Cli.csproj", "{CF8CA4E0-E90D-44FB-A9D5-6296A036BB24}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -66,10 +64,10 @@ Global {88BE4AC5-6E7B-46FA-B656-5CCE8BF9F18E}.Debug|Any CPU.Build.0 = Debug|Any CPU {88BE4AC5-6E7B-46FA-B656-5CCE8BF9F18E}.Release|Any CPU.ActiveCfg = Release|Any CPU {88BE4AC5-6E7B-46FA-B656-5CCE8BF9F18E}.Release|Any CPU.Build.0 = Release|Any CPU - {BCDEE82E-2A5E-43FB-A003-8608D1489D55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BCDEE82E-2A5E-43FB-A003-8608D1489D55}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BCDEE82E-2A5E-43FB-A003-8608D1489D55}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BCDEE82E-2A5E-43FB-A003-8608D1489D55}.Release|Any CPU.Build.0 = Release|Any CPU + {CF8CA4E0-E90D-44FB-A9D5-6296A036BB24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CF8CA4E0-E90D-44FB-A9D5-6296A036BB24}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CF8CA4E0-E90D-44FB-A9D5-6296A036BB24}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CF8CA4E0-E90D-44FB-A9D5-6296A036BB24}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -81,7 +79,7 @@ Global {CF6126AF-6934-46EC-A0F2-B75C673EA8D8} = {6E5BF389-3D3F-4D74-9DD0-3B199CB529C5} {3A3F5EE3-0076-4822-B3BA-2955EC802E25} = {6E5BF389-3D3F-4D74-9DD0-3B199CB529C5} {88BE4AC5-6E7B-46FA-B656-5CCE8BF9F18E} = {9CAA231D-7BE1-46C9-ACD6-EB2E569CEBEA} - {BCDEE82E-2A5E-43FB-A003-8608D1489D55} = {5682F795-57B4-45E4-B4C7-FE225A5A68D2} + {CF8CA4E0-E90D-44FB-A9D5-6296A036BB24} = {6E5BF389-3D3F-4D74-9DD0-3B199CB529C5} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {1493AEE4-9211-46E9-BFE6-8F629EAC5693} diff --git a/src/apps/OpenApiGenerator.Cli/Commands/GenerateCommand.cs b/src/libs/OpenApiGenerator.Cli/Commands/GenerateCommand.cs similarity index 100% rename from src/apps/OpenApiGenerator.Cli/Commands/GenerateCommand.cs rename to src/libs/OpenApiGenerator.Cli/Commands/GenerateCommand.cs diff --git a/src/apps/OpenApiGenerator.Cli/Helpers.cs b/src/libs/OpenApiGenerator.Cli/Helpers.cs similarity index 100% rename from src/apps/OpenApiGenerator.Cli/Helpers.cs rename to src/libs/OpenApiGenerator.Cli/Helpers.cs diff --git a/src/apps/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj b/src/libs/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj similarity index 90% rename from src/apps/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj rename to src/libs/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj index bfb46ec786..15f9d69793 100644 --- a/src/apps/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj +++ b/src/libs/OpenApiGenerator.Cli/OpenApiGenerator.Cli.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/apps/OpenApiGenerator.Cli/Program.cs b/src/libs/OpenApiGenerator.Cli/Program.cs similarity index 100% rename from src/apps/OpenApiGenerator.Cli/Program.cs rename to src/libs/OpenApiGenerator.Cli/Program.cs