exitWith

Action that makes the entire command exit according to exit code of a used Var.

Parameters

v

a Var that has been registered in a previous add call.


fun exitWith(exitCode: Int): CmdBuilder

Action that makes the entire command exit according to exitCode.

Parameters

exitCode

valid exit code constant.