brew_help() can be used to get information about Homebrew or the available commands

brew_help(...)

Arguments

...

Arguments passed on to brew_cmd

cmd

The command to run (e.g., install)

args

Additional arguments for the command

brew_cmd

Optional: Location of brew command.

echo

Whether to print output and error messages to the screen. Defaults to TRUE for interactive sessions.

Value

A string

Examples

if (FALSE) {
# Get help about the 'install' command
brew_help("install")
}