-
Notifications
You must be signed in to change notification settings - Fork 27
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
Setting/filtering output #30
Labels
Comments
This sounds like it should be possible via a plugin. Take a look at the README and the example plugins that are both included with Nesh and the ones others have published on npm. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These are feature requests that I would like to see (or know about if they already exist). If I get the time, I may work on them myself and post or PR.
Both features could be implemented by setting up a filter on all return statements.
I would like to truncate some of my error messages (ReferenceError: foo is not defined could be under 5 lines, for me, for example). I would also like to define a prompt for returned statements. It could look something like:
my_prompt> 2 + 2
=> 4
where '=>' is defined by the user.
The text was updated successfully, but these errors were encountered: