package component;

import dc.DCConfig;
import cli.CLC;
import dc.cli.MultiStationInterface;

public class MainInterface extends CLC {
	private MultiStationInterface msi;
	
	public MainInterface() {
		System.out.println("DCnet command line interface, v" + DCConfig.VERSION);
		msi = new MultiStationInterface();

		mapCommand("station", new CommandAction(msi));
		
	}

}
@@ -309,61 +309,131 @@
 ();%0A
-%0A
 %09%09
-mapCommand(%22station%22, new 
+Action forwardAction = new CommandAction(msi);%0A%09%09%0A%09%09setDefaultAction(forwardAction);%0A%09%09map
 Command
-Ac
+(%22sta
 tion
-(
+%22, 
 msi)
-)
 ;%0A%09%09%0A
+%09%09%0A
 %09%7D%0A%0A

"station" keyword can be ommitted