Option

constructor(hasArgs: Boolean, vararg names: String, action: (Option, String) -> Unit)

Parameters

name

the Option name.

hasArgs

if the option has extra argument.

action

the action.