#!/usr/bin/env node
'use strict';
var meow = require('meow');
var humanNames = require('./');

var cli = meow({
    help: [
        'Examples',
        '  $ human-names',
        '  John',
        '',
        '  $ dog-names --all --type male',
        '  John',
        '  Bart',
        '  ...',
        '',
        'Options',
        '  --all   Get all names instead of a random name',
        '  --type  Type of name: female|male|all  Default: all'
    ].join('\n')
});

var type = cli.flags.type || 'all';
console.log(cli.flags.all ? humanNames[type].join('\n') : humanNames[type + 'Random']());

@@ -211,11 +211,13 @@
   $ 
-dog
+human
 -nam

fix cli file