mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-27 17:00:30 -04:00
11 lines
241 B
JavaScript
Executable File
11 lines
241 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
import { spawn } from 'node:child_process';
|
|
import process from 'node:process';
|
|
import hugo from './index.js';
|
|
|
|
const input = process.argv.slice(2);
|
|
|
|
spawn(hugo, input, { stdio: 'inherit' })
|
|
.on('exit', process.exit);
|