1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-12 08:45:27 -04:00

Move cli.js to bin/cli.js

This commit is contained in:
XhmikosR
2023-05-05 17:55:46 +03:00
parent 1429f5b716
commit 8e02ee16b9
2 changed files with 3 additions and 3 deletions
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/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);