mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 01:21:25 -08:00
Co-authored-by: Hannah Lindrob <[email protected]> Co-authored-by: Sapphire <[email protected]>
13 lines
298 B
TypeScript
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();
|