Mix v1.3.4 Mix.Shell.IO View Source

This is Mix’s default shell.

It simply prints messages to stdio and stderr.

Link to this section Summary

Functions

Executes the given command and prints its output to stdout as it comes

Writes an error message to the shell followed by new line

Writes a message to the shell followed by new line

Prints the currently running application if it was not printed yet

Writes a message shell followed by prompting the user for input. Input will be consumed until enter is pressed

Receives a message and asks the user if they want to proceed. The user must press enter or type anything that matches the “yes” regex ~r/^Y(es)?$/i

Link to this section Functions

Link to this function cmd(command, opts \\ []) View Source

Executes the given command and prints its output to stdout as it comes.

Writes an error message to the shell followed by new line.

Writes a message to the shell followed by new line.

Writes a message shell followed by prompting the user for input. Input will be consumed until enter is pressed.

Receives a message and asks the user if they want to proceed. The user must press enter or type anything that matches the “yes” regex ~r/^Y(es)?$/i.