You've already forked hugo-extended
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:
Executable
+10
@@ -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);
|
||||
Reference in New Issue
Block a user