(cmd, opt)
| 78 | } |
| 79 | |
| 80 | function execute(cmd, opt) { |
| 81 | if (cmd === "tour") { |
| 82 | return showTour(); |
| 83 | } |
| 84 | |
| 85 | var vantage = new Vantage(); |
| 86 | vantage.show(); |
| 87 | |
| 88 | var connection = parseConnection(cmd); |
| 89 | |
| 90 | // If there is somewhere to go, connect. |
| 91 | if (cmd !== undefined) { |
| 92 | connect(vantage, connection.server, connection.port, opt); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | execute(command, options); |
no test coverage detected