1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 07:55:21 -04:00
hugo-extended/cli.js
Jake Jarvis 5bb2ff0eb3
switch to ESM imports (drops node 10.x support)
also download assets to a temp dir instead of ./vendor
2021-08-31 11:56:33 -04:00

9 lines
158 B
JavaScript
Executable File

#!/usr/bin/env node
import execa from "execa";
import hugo from "./index.js";
const args = process.argv.slice(2);
execa(hugo, args, { stdio: "inherit" });