Skip to content

Instantly share code, notes, and snippets.

@ruucm-working
ruucm-working / index.js
Last active November 2, 2018 11:48 — forked from zkat/index.js
npx is cool
#!/usr/bin/env node
console.log('yay gist~')
var shell = require('shelljs')
var readlineSync = require('readline-sync')
if (!shell.which('git')) {
shell.echo('Sorry, this script requires git')
shell.exit(1)
}