-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How to manually print help and errors ? #1842
Comments
See |
This is awesome. Thanks |
For interest, early PR and discussion that led to |
Honestly, when realizing how much default behavior the lib has, I was afraid that I would at some point hit an issue due to said defaults, which could have been replied with 'wontfix', thus forcing me to find yet another library to use. But, I'm really really glad this wasn't the case, so much kudos to you. |
Also for interest, I'm creating the CLI version of my SSHception project, which is originally a TUI, but not practical on mobile devices and small screens. |
Hello,
I'm using
commander
to serve a REPL through SSH usingssh2
.Using
action
, I can manually print the output of my command using the proper way for the user to receive it.But when the user types
help
or an invalid input, the output gets printed in the server's console.How can I prevent that, get the output and print it myself ?
Thanks
The text was updated successfully, but these errors were encountered: