Skip to content
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

Support .exit #11

Open
knpwrs opened this issue Jul 26, 2019 · 1 comment
Open

Support .exit #11

knpwrs opened this issue Jul 26, 2019 · 1 comment
Labels
enhancement New feature or request plugin Can be implemented with a plugin

Comments

@knpwrs
Copy link

knpwrs commented Jul 26, 2019

I've gotten accustomed to typing .exit in the Node REPL in order to exit. Frankly, I realize this is a bad habit compared to just using ctrl-d (many more keystrokes are required) but I was wondering if it would be possible for jay to support .exit.

image

@rsify
Copy link
Owner

rsify commented Jul 26, 2019

not a big fan of the standard repl's dot commands tbh - i'm thinking of adding this indirectly via some kind of a plugin system in the future, but i'm not exactly sure when that'll happen.

for now though, if you really want the command you can plop the appropriate code here:
https://github.com/nikersify/jay/blob/bf4482942c5836e1200c0158ccf926121e06d8be/source/cli.ts#L208-L211

@rsify rsify added enhancement New feature or request plugin Can be implemented with a plugin labels Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin Can be implemented with a plugin
Projects
None yet
Development

No branches or pull requests

2 participants