This commit is contained in:
Zef Hemel
2022-04-26 20:31:31 +02:00
parent 76636dd9b1
commit 0182a587e4
10 changed files with 60 additions and 32 deletions
+4 -6
View File
@@ -1,13 +1,11 @@
#!/usr/bin/env node
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import { ExpressServer } from "./api_server";
import { nodeModulesDir } from "@plugos/plugos/environments/node_sandbox";
import { preloadModules } from "@silverbulletmd/common/preload_modules";
import path from "path";
import { realpath } from "fs/promises";
import { realpathSync } from "fs";
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import { ExpressServer } from "./express_server";
let args = yargs(hideBin(process.argv))
.option("port", {