The MRouter has a built-in set of command handlers that implement a basic command-line interface. Scripts can be produced by writing the commands in a file, one command per line. The scripts can be used for router setup, and initiation and control of routing jobs. Script files can read other script files to arbitrary depth.
The command processing is implemented hierarchically. At lowest level are the database commands, which are impolemented in the database class. Command processing for the router class will pass through unresolved operations to the database command processor. Finally, when using the MRouter plug-in, an application's command processing can pass through unresolved operations to the MRouter command processing. This allows the application to provide its own commands, or modified versions of the MRouter commands. For example, the Xic program adds commands to display the physical layout, and to move technology information to and from the MRouter.
The Qrouter has built-in TCL/TK support, and a comparable command interface. This support is not directly available in the MRouter presently. However, the command interface provided can be wrapped into TCL/TK, Python, or other script language functions, per the user's preference. Direct support for common languages such as TCL/TK and Python may be added in future releases.