dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

Support question - how to close / cleanup existing vorpal instance #250

Open ORESoftware opened 7 years ago

ORESoftware commented 7 years ago

Say we want to create a new instance of vorpal - how would we clean up an existing instance?

aka, I have code which will start "a new vorpal" instance. How can I close / cleanup any existing vorpal instance?

I assume this involves:

process.stdin.end();

As an aside - It would be great if this project could be updated with TypeScript then the API would be easier to access.