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