usestd::path::Path;useanyhow::Result;usegit2::Repository;pubenumVcs{
Git,
Pijul,None,}pubfninit_vcs(vcs:&Vcs, path:&Path)->Result<()>{match vcs {Vcs::Git =>{Repository::init(path)?;}Vcs::Pijul =>{//This is how cargo does it so it should be good enough for me
std::process::Command::new("pijul")
.current_dir(path)
.arg("init")
.current_dir(path)
.output()?;}Vcs::None =>{}}Ok(())}