Bash-like comment for Vorpal.js
$ npm i vorpal-comment
import Vorpal from 'vorpal';
import comment from 'vorpal-comment';
const vorpal = new Vorpal();
vorpal
.use(comment)
.delimiter('example>')
.show();
example> # im a comment
example>
const options = {
command: '//', // comments start with // instead of #
alias: [ '--', '<<' ] // define some aliases
}
vorpal.use(comment, options);
MIT