I'm trying to build a simple application openning a database and making some queries in it with some commands.
To avoid open/close connections to sqlite with every command I want to have a single connection and kepp it open while vorpal is running.
Is there a way to know the 'exit' command was sent and react to it?
I'm trying to build a simple application openning a database and making some queries in it with some commands. To avoid open/close connections to sqlite with every command I want to have a single connection and kepp it open while vorpal is running.
Is there a way to know the 'exit' command was sent and react to it?