poetry_finder

Crates.iopoetry_finder
lib.rspoetry_finder
version0.7.0
sourcesrc
created_at2023-05-02 16:15:51.720752
updated_at2023-05-03 21:08:04.094776
descriptionChecks if poetry is already installed and will try installation otherwise
homepage
repository
max_upload_size
id854700
size6,555
Sajad Safarveisi (Safarveisi)

documentation

https://docs.rs/poetry_finder

README

poetry_finder

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.

poetry_finder in action

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);
    }
    
}
Commit count: 0

cargo fmt