Skip to main content

is_non_interactive

Function is_non_interactive 

Source
pub fn is_non_interactive() -> bool
Expand description

Check if we are in non-interactive mode. Returns true if stdin is not a TTY or AUTHY_NON_INTERACTIVE=1 is set.