Open xgalaxy opened 11 years ago
Good point. We have been debating about this internally and are going to take this a step further. We are going to move Console.cs (commands, history, tab completion, etc.) to the client. CUDLR in C# will be more about providing json data via routes. This will use a lot of the changes you proposed in PR #9 and also addresses issue #10
Right now the server has all of the commands. It would be nice if the client (javascript) could also have its own commands - then the client and server commands are combined into the command listing when help is invoked.
As an example, as part of Issue #9 I removed the 'Clear' command from the server because it no longer made sense there. However, since the client doesn't have any concept of commands itself, I couldn't add a typed clear command and instead had to result to a button.