refactor directory structure and modularize a few common functions

This commit is contained in:
jake committed 2021-10-09 11:03:39 -04:00
1 parent 64f91f5b8e
commit 757a061ebe
9 files changed
+185 -141

No files matched your search

Executable
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env node
import { spawn } from "child_process";
import hugo from "../index.js";
const args = process.argv.slice(2);
spawn(hugo, args, { stdio: "inherit" })
.on("exit", process.exit);