Skip to main content

Module ui

Module ui 

Source

Functions§

banner
Print a green bold banner box.
confirm
Show an interactive confirmation prompt. Returns true if confirmed.
error
Print an error message: [mvm] ERROR: message (in red)
info
Print an informational message: [mvm] message
spinner
Create and start a spinner with the given message. Call .finish_with_message() or .finish_and_clear() when done.
status_header
Print the status header.
status_line
Print a status line with a bold label and a colored value. Recognized values: “Running”, “Stopped”, “Not running”, etc.
step
Print a numbered step: [mvm] Step n/total: message
success
Print a success message: [mvm] message (in green)
warn
Print a warning message: [mvm] message (in yellow)