CommandLine

external class CommandLine(source)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
external fun appendArgument(value: String)

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
external fun appendSwitch(the_switch: String, value: String = definedExternally)

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

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

The command-line switch value.

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

Whether the command-line switch is present.

Link copied to clipboard
external fun removeSwitch(the_switch: String)

Removes the specified switch from Chromium's command line.