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.
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 to confirm if they want to proceed. The user must type and submit one of "y", "yes", "Y", "YES" or "Yes".
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.
Input will be consumed until Enter is pressed.
Prints a message and asks the user to confirm if they want to proceed. The user must type and submit one of "y", "yes", "Y", "YES" or "Yes".
The user may also press Enter; this can be configured to either accept or reject the prompt. The latter case may be useful for a potentially dangerous operation that should require explicit confirmation from the user.
:default - (:yes or :no) if :yes pressing Enter accepts the prompt; if :no pressing Enter rejects the prompt instead. Defaults to :yes.
© 2012-2024 The Elixir Team
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/mix/1.18.1/Mix.Shell.Quiet.html