SCRIPT_MODE

Static SCRIPT_MODE 

Source
pub static SCRIPT_MODE: AtomicBool
Expand description

When true the REPL is running under a script or --script file. Prompts cannot be answered, so tx_confirm prints an error and returns false unless CONFIRM_TX is also cleared.