#!/usr/bin/env node 'use strict'; var pkg = require('./package.json'); var githubMarkdownCss = require('./index'); var input = process.argv[2]; function help() { console.log(pkg.description); console.log(''); console.log('Usage'); console.log(' $ github-markdown-css > '); } if (process.argv.indexOf('-h') !== -1 || process.argv.indexOf('--help') !== -1) { help(); return; } if (process.argv.indexOf('-v') !== -1 || process.argv.indexOf('--version') !== -1) { console.log(pkg.version); return; } githubMarkdownCss(function (err, css) { if (err) { throw err; } console.log(css); });