1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 14:38:28 -04:00
hugo-extended/cli.js
2016-10-19 23:36:34 +09:00

9 lines
201 B
JavaScript

#!/usr/bin/env node
const spawn = require('child_process').spawn;
const input = process.argv.slice(2);
const hugo = require('./');
spawn(hugo, input, {stdio: 'inherit'})
.on('exit', process.exit);