[][src]Function please_pm::install_package

pub fn install_package(
    package_name: String,
    is_verbose: bool,
    install_optional: bool
) -> Result<String, ErrorKind>

Installs a package with the given name (package_name).

NOTE: This function is a frontend and will therefore display a formatted answer; no matter what.

Arguments

  • package_name: The unique package name.
  • is_verbose: Should give a verbose/detailed output when installing.
  • install_optional: If it should install requested optional packages.