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

var cli = meow({
	help: [
		'Usage',
		'  $ gh-gist-owner [input]',
		'',
		'Examples',
		'  $ gh-gist-owner',
		'  unicorns & rainbows',
		'',
		'  $ gh-gist-owner ponies',
		'  ponies & rainbows',
		'',
		'Options',
		'  --foo  Lorem ipsum. Default: false'
	].join('\n')
});

console.log(ghGistOwner(cli.input[0] || 'unicorns'));

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

var cli = meow({
	help: [
	'Usage',
		'  $ gh-gist-owner [input]',
		'',
		'Examples',
		'  $ gh-gist-owner 420166ca54b7afe55476',
		'  GitHub username: icyflame'
	].join('\n')
});

if(cli.input.length < 1)
	console.log("You must provide the gist ID as a CLI argument");
else
	console.log("GitHub username: " + ghGistOwner(cli.input[0]));

Add the CLI functionality, and help text
Add the CLI functionality, and help text

Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>