CommandLine

external class CommandLine(source)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Append an argument to Chromium's command line. The argument will be quoted correctly. Switches will precede arguments regardless of appending order.

Link copied to clipboard
fun appendSwitch(the_switch: String, value: String = definedExternally)

Append a switch (with optional value) to Chromium's command line.

Link copied to clipboard
fun getSwitchValue(the_switch: String): String

The command-line switch value.

Link copied to clipboard
fun hasSwitch(the_switch: String): Boolean

Whether the command-line switch is present.

Link copied to clipboard
fun removeSwitch(the_switch: String)

Removes the specified switch from Chromium's command line.