ElectronCommandLine.getSwitchValue method
ElectronCommandLine › getSwitchValue
Unofficial
Returns the value of the given command-line switch.Signature:
getSwitchValue(theSwitch: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| theSwitch | string | The switch to read. |
Returns: string — The switch value, or an empty string when the switch is absent or has no value.