 Mix.Shell behaviour   Defines Mix.Shell contract.     Summary   Functions 
   cmd(command, options \\ [], callback)  Executes the given command as a shell command and invokes the callback for the streamed response.    printable_app_name()  Returns the printable app name.    Callbacks 
   cmd(command)  Executes the given command and returns its exit status.    cmd(command, options)  Executes the given command and returns its exit status.    error(message)  Prints the given ANSI error to the shell.    info(message)  Prints the given ANSI message to the shell.    print_app()  Prints the current application to the shell if it was not printed yet.    prompt(message)  Prompts the user for input.    yes?(message)  Prompts the user for confirmation.       Functions    cmd(command, options \\ [], callback)Source
  Executes the given command as a shell command and invokes the callback for the streamed response.
This is most commonly used by shell implementations but can also be invoked directly.
  Options  
:cd - (since v1.11.0) the directory to run the command in
:stderr_to_stdout - redirects stderr to stdout, defaults to true
:env - a list of environment variables, defaults to []
:quiet - overrides the callback to no-op
    printable_app_name()Source
  Returns the printable app name.
This function returns the current application name, but only if the application name should be printed.
Calling this function automatically toggles its value to false until the current project is re-entered. The goal is to avoid printing the application name multiple times.        Callbacks    cmd(command)Source
  Specs  cmd(command 8b7c:f320:99b9:690f:4595:cd17:293a:c069 String.t()) 8b7c:f320:99b9:690f:4595:cd17:293a:c069 integer()  Executes the given command and returns its exit status.    cmd(command, options)Source
  Specs  cmd(command 8b7c:f320:99b9:690f:4595:cd17:293a:c069 String.t(), options 8b7c:f320:99b9:690f:4595:cd17:293a:c069 keyword()) 8b7c:f320:99b9:690f:4595:cd17:293a:c069 integer()  Executes the given command and returns its exit status.
  Options  
:print_app - when false, does not print the app name when the command outputs something
:stderr_to_stdout - when false, does not redirect stderr to stdout
:quiet - when true, do not print the command output
:env - environment options to the executed command
    error(message)Source
  Specs  error(message 8b7c:f320:99b9:690f:4595:cd17:293a:c069 IO.ANSI.ansidata()) 8b7c:f320:99b9:690f:4595:cd17:293a:c069 :ok  Prints the given ANSI error to the shell.    info(message)Source
  Specs  info(message 8b7c:f320:99b9:690f:4595:cd17:293a:c069 IO.ANSI.ansidata()) 8b7c:f320:99b9:690f:4595:cd17:293a:c069 :ok  Prints the given ANSI message to the shell.    print_app()Source
  Specs  print_app() 8b7c:f320:99b9:690f:4595:cd17:293a:c069 :ok  Prints the current application to the shell if it was not printed yet.    prompt(message)Source
  Specs  prompt(message 8b7c:f320:99b9:690f:4595:cd17:293a:c069 binary()) 8b7c:f320:99b9:690f:4595:cd17:293a:c069 binary()  Prompts the user for input.    yes?(message)Source
  Specs  yes?(message 8b7c:f320:99b9:690f:4595:cd17:293a:c069 binary()) 8b7c:f320:99b9:690f:4595:cd17:293a:c069 boolean()  Prompts the user for confirmation.    

    
{'path': 'public/docs/elixir~1.12/mix.shell.html', 'source': 'DevDocs.IO'}