Browse Source

Wired Console.Waterworks into the console program.

master
Craig Oates 6 years ago
parent
commit
d2f3427970
  1. 13
      WetPancakeCLI/ConsoleCommands.cs
  2. 8
      WetPancakeCLI/Program.cs
  3. 1
      WetPancakeCLI/WetPancakeCLI.csproj

13
WetPancakeCLI/ConsoleCommands.cs

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WetPancakeCLI
{
public static class ConsoleCommands
{
public static string Test() => "SUCCESS: Console.Waterworks is wired into Wet Pancake CLI.";
}
}

8
WetPancakeCLI/Program.cs

@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Console.Waterworks;
namespace WetPancakeCLI
{
@ -10,6 +6,8 @@ namespace WetPancakeCLI
{
static void Main(string[] args)
{
var liaison = new CW_Liaison();
liaison.Run("WetPancakeCLI", true);
}
}
}

1
WetPancakeCLI/WetPancakeCLI.csproj

@ -45,6 +45,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ConsoleCommands.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

Loading…
Cancel
Save