1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 15:48:29 -04:00
hugo-extended/cli.js
2018-12-17 23:14:23 +09:00

12 lines
216 B
JavaScript
Executable File

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