Add --once flag
Changes
- Require node >= 4.0
- Start using ES6
- Add
--once
flag that if used will not create a comment if a comment with the same body has already been made.
# Example
$ issue-comment --once blamattina/github-hotline#1 Looks good
Comment created.
$ issue-comment --once blamattina/github-hotline#1 Looks good
Not created. A comment with this message already exists.