diff --git a/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs b/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs new file mode 100644 index 0000000..2459454 --- /dev/null +++ b/RecrownedAthenaeum.ConsoleTools/CommandProcessor/CommandEngine.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace RecrownedAthenaeum.ConsoleTools.CommandProcessor +{ + internal class CommandEngine + { + public bool running; + public void Process(string command) + { + + } + + internal void Run() + { + while (running) + { + string command = Console.ReadLine(); + Process(command); + } + } + } +} diff --git a/RecrownedAthenaeum.ConsoleTools/ConsoleTools.cs b/RecrownedAthenaeum.ConsoleTools/ConsoleTools.cs new file mode 100644 index 0000000..fa16ec7 --- /dev/null +++ b/RecrownedAthenaeum.ConsoleTools/ConsoleTools.cs @@ -0,0 +1,18 @@ +using RecrownedAthenaeum.ConsoleTools.CommandProcessor; +using System; +using System.Reflection; + +namespace RecrownedAthenaeum.ConsoleTools +{ + internal class ConsoleTools + { + static void Main(string[] args) + { + Console.WriteLine("Recrowned Athenaeum Console Tools version " + Assembly.GetExecutingAssembly().GetName().Version.ToString()); + bool running = true; + + CommandEngine ce = new CommandEngine(); + ce.Run(); + } + } +} diff --git a/RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.ConsoleTools.csproj b/RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.ConsoleTools.csproj new file mode 100644 index 0000000..23df604 --- /dev/null +++ b/RecrownedAthenaeum.ConsoleTools/RecrownedAthenaeum.ConsoleTools.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/RecrownedAthenaeum.sln b/RecrownedAthenaeum.sln index 8d25801..655477c 100644 --- a/RecrownedAthenaeum.sln +++ b/RecrownedAthenaeum.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecrownedAthenaeum", "Recro EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecrownedAthenaeum.Pipeline", "RecrownedAthenaeum.Pipeline\RecrownedAthenaeum.Pipeline.csproj", "{B38F9812-B1D1-4BFE-89EE-FC4DD4EBAA3F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecrownedAthenaeum.ConsoleTools", "RecrownedAthenaeum.ConsoleTools\RecrownedAthenaeum.ConsoleTools.csproj", "{51E77E29-AD31-449E-9C98-980E5C978EF9}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {B38F9812-B1D1-4BFE-89EE-FC4DD4EBAA3F}.Debug|Any CPU.Build.0 = Debug|Any CPU {B38F9812-B1D1-4BFE-89EE-FC4DD4EBAA3F}.Release|Any CPU.ActiveCfg = Release|Any CPU {B38F9812-B1D1-4BFE-89EE-FC4DD4EBAA3F}.Release|Any CPU.Build.0 = Release|Any CPU + {51E77E29-AD31-449E-9C98-980E5C978EF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51E77E29-AD31-449E-9C98-980E5C978EF9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51E77E29-AD31-449E-9C98-980E5C978EF9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51E77E29-AD31-449E-9C98-980E5C978EF9}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE