Skip to content

Commit

Permalink
feat: Add update notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
nprail committed Feb 25, 2019
1 parent 6c0d381 commit 2b8b747
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 114 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/env node

const program = require('commander')
const updateNotifier = require('update-notifier')

const reporter = require('./lib/reporter')
const pkg = require('./package.json')

updateNotifier({ pkg }).notify()

program
.version(pkg.version)
.option('-o, --output [output]', 'output file')
Expand Down
Loading

0 comments on commit 2b8b747

Please sign in to comment.