Mix.Shell.Quiet View Source
This is Mix's default shell when the MIX_QUIET
environment
variable is set.
It's just like Mix.Shell.IO
, but prints far less.
Link to this section Summary
Functions
Executes the given command quietly without outputting anything
Prints the error to the shell followed by a newline
Prints nothing to the shell
Prints the current application if it was not printed yet
Prints a message and prompts the user for input
Prints a message and asks the user if they want to proceed
Link to this section Functions
cmd(command, opts \\ []) View Source
Executes the given command quietly without outputting anything.
error(message) View Source
Prints the error to the shell followed by a newline.
info(message) View Source
Prints nothing to the shell.
print_app() View Source
Prints the current application if it was not printed yet.
prompt(message) View Source
Prints a message and prompts the user for input.
Input will be consumed until Enter is pressed.
yes?(message) View Source
Prints a message and asks the user if they want to proceed.
The user must press Enter or type one of "y", "yes", "Y", "YES" or "Yes".