()
| 184 | }; |
| 185 | |
| 186 | const logCommand = function () { |
| 187 | const hasSource = cmd.sourceFor instanceof Function; |
| 188 | const cmdSource = hasSource ? cmd.sourceFor() : "-- " + cmd.type; |
| 189 | console.log("[hdb] current command: " + cmdSource); |
| 190 | }; |
| 191 | |
| 192 | const ui = function () { |
| 193 | renderedCode = renderCode(); |