# `Mix.Shell.Quiet`
[🔗](https://github.com/elixir-lang/elixir/blob/7ff272706afc522e74121493b7166719985cb099/lib/mix/lib/mix/shell/quiet.ex#L5)

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.

# `cmd`

```elixir
@spec cmd(String.t() | {String.t(), [String.t()]}, Mix.Shell.stream_cmd_opts()) ::
  exit_status :: non_neg_integer()
```

Executes the given command quietly without outputting anything.

# `error`

Prints the error to the shell followed by a newline.

# `info`

Prints nothing to the shell.

# `print_app`

Prints the current application if it
was not printed yet.

# `prompt`

Prints a message and prompts the user for input.

Input will be consumed until Enter is pressed.

# `yes?`

```elixir
@spec yes?(String.t(), Mix.Shell.IO.yes_opts()) :: boolean()
```

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.

## Options

  * `:default` - (:yes or :no) if `:yes` pressing Enter
    accepts the prompt; if `:no` pressing Enter rejects
    the prompt instead. Defaults to `:yes`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
