Files
SlimeVR-Server/gui/electron/main/cli.ts
T
a891203204 Switch to Electron (#1747)
Co-authored-by: Hannah Lindrob <[email protected]>
Co-authored-by: Sapphire <[email protected]>
2026-03-10 21:38:02 +01:00

13 lines
298 B
TypeScript

import { program } from "commander";
program
.option('-p --path <path>', 'set launch path')
.option(
'--skip-server-if-running',
'gui will not launch the server if it is already running'
)
.allowUnknownOption();
program.parse(process.argv);
export const options = program.opts();