lix-website/themes/lix/assets/bootstrap/node_modules/hugo-bin/cli.js

12 lines
216 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
#!/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);