create-proyect-cli 2.2.0

CLI para crear proyectos rĂ¡pidamente (Express, Rust, Python, Angular, Vue, React)
1
2
3
4
5
6
7
8
use std::process::Command;

pub fn generate_rust(name: &str) {
    Command::new("cargo")
        .args(["new", name])
        .status()
        .expect("Error creando proyecto Rust");
}