Crates.io | poetry_finder |
lib.rs | poetry_finder |
version | 0.7.0 |
source | src |
created_at | 2023-05-02 16:15:51.720752 |
updated_at | 2023-05-03 21:08:04.094776 |
description | Checks if poetry is already installed and will try installation otherwise |
homepage | |
repository | |
max_upload_size | |
id | 854700 |
size | 6,555 |
This crate simply enables the user (with sudo
rights) to install Poetry and all its dependencies (packages). If Poetry is already installed, it will be properly handeled.
It is assumed that the system on which the compiler runs is Debian-based.
fn main() {
use poetry_finder::run;
// Password to check the sudo access
let passwd = "password";
if let Err(e) = run(passwd) {
println!("{}", e);
std::process::exit(1);
}
}