1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 21:38:26 -04:00
2023-05-17 08:31:53 +03:00

11 lines
250 B
JavaScript
Executable File

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