protoml-parser
Version:
ProtoML is a lightweight, declarative markup language designed for writing and structuring meeting protocols, notes and task lists in a human-readable and machine-parseable format.
15 lines (10 loc) • 356 B
JavaScript
const { spawn } = require("child_process");
const path = require("path");
const electronPath = require("electron");
const viewerPath = path.join(__dirname, "viewer-workbench.js");
const inputFile = process.argv[2];
const args = inputFile ? [viewerPath, inputFile] : [viewerPath];
spawn(electronPath, args, {
stdio: "inherit",
});