ElectronCommandLine.appendSwitch method
ElectronCommandLine › appendSwitch
Unofficial
Appends a switch (with optional value) to Chromium's command line.Signature:
appendSwitch(theSwitch: string, value?: string | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| theSwitch | string | The switch to append. |
| value? | string | undefined | The optional value for the switch. |
Returns: void