1.0.0 • Published 8 years ago

vorpal-comment v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

vorpal-comment

Travis Codecov Commitizen friendly

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

1.0.0

8 years ago