Crate poetry_finder

Crate poetry_finder 

Source
Expand description

Checks if poetry is installed on the system. It is assumed that the system is debian-based distribution. if poetry is not installed, it will try installing it (along with its prerequisites).

§Examples

/// Password to check the sudo access
let passwd = "password";
if let Err(e) = run(passwd) {
    println!("{}", e);
    std::process::exit(1);
}

Functions§

install_package
is_package_installed
run
sudo_check