gitm 0.4.3

Git manager is a nice wrapper to git, where it manages repos in a specified directory
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::process::Command;

use super::EditorOpen;
pub struct Neovim;

impl EditorOpen for Neovim {
  fn open(&self, dir: &str) -> Result<(), ()> {
    // TODO: Att inte denna variabeln inte används
    let command = Command::new("nvim")
      .args(["--cmd", &format!("cd {}", dir), dir])
      .spawn()
      .unwrap()
      .wait();

    Ok(())
  }
}