bail

Usage

.bail <on|off>

Description

The bail command sets the behavior of the CLI when an error occurs. By default, the CLI will continue processing after the first error. If the bail command is set to on, the CLI will exit after the first error.

Examples

Show the current bail setting:

.bail

Enable bail on first error:

.bail on

Disable bail on first error:

.bail off

Demonstration