1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-27 08:58:30 -04:00
hugo-extended/cli.js
2018-10-07 17:42:52 +09:00

9 lines
200 B
JavaScript
Executable File

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