Vorpal Extension for running shell commands
Vorpal extension that enables you to run shell command, right from the vorpal REPL
To do so, start your command with $
. Some completion is even availabled.
(Hovewer due to a current vorpal caveat, it wont autocomplete your options 😕)
const Vorpal = require('vorpal');
const vorpalShell = require('vorpal-shell');
const vorpal = Vorpal();
vorpal
.delimiter('>> ')
.use(vorpalShell({shell: 'zsh'}))
.show();