diff --git a/LibMpcApp/Program.cs b/LibMpcApp/Program.cs
index 4cdf2b2..7a54497 100644
--- a/LibMpcApp/Program.cs
+++ b/LibMpcApp/Program.cs
@@ -1,12 +1,20 @@
using System;
using System.Net;
-using System.Threading.Tasks;
using LibMpc;
+using System.Collections.Generic;
namespace LibMpcApp
{
+ ///
+ /// Simple console app to test commands and parsed responses.
+ ///
public class Program
{
+ private static readonly Dictionary> _commands = new Dictionary>
+ {
+ { 1, input => new Commands.Reflection.TagTypes() }
+ };
+
public static void Main(string[] args)
{
var mpc = new Mpc(new IPEndPoint(IPAddress.Loopback, 6600));
@@ -27,16 +35,31 @@ namespace LibMpcApp
private static void StartReadCommands(Mpc mpc)
{
- while(true)
+ int userInput = 0;
+ while ((userInput = DisplayMenu()) != 99)
{
- Console.Write("Command: ");
- var command = Console.ReadLine();
+ Func