I'm creating a jquery terminal with server side authentication by following the example JSON-RPC with authentication. It works well, but when I type "help" to get information on a particular command, the authentication token is included as the first parameter. I'm worried that this may confuse the users or make them think they have to type a token into the terminal.
For example, in the demo for the example, typing "help ls" returns:
> help ls
ls token path
list directory if token is valid
Is there any way I can configure jquery-terminal to filter out the token, so that typing "help ls" returns something like this?
> help ls
ls path
list directory if token is valid
I've been trying to work out if this can be done by writing a custom "help" command, but am not sure how to do this while still using the documentation in the JSON-RPC response.