#!/usr/bin/env node

'use strict'

var meow = require('meow')
var extend = require('xtend')
var degree = require('./')

var cli = meow({
  help: [
    'Usage',
    '  degree [entries...]'
  ]
})

var entries = cli.input
if (!entries.length) throw new Error('entries are required')

degree(entries, extend(cli.flags, {stream: process.stdout}))

@@ -310,16 +310,19 @@
 flags, %7B
+%0A  
 stream: 
@@ -335,12 +335,63 @@
 s.stdout
+,%0A  browserify: %7B%0A    plugin: cli.flags.plugin%0A  %7D%0A
 %7D))%0A

Allow browserify plugins to be specified via the --plugin flag