adof 0.10.0

ADOF - An Automatic Dot-files Organizer Friend
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::git::{get_repo, is_remote_exist};

pub fn unlink() {
    let repo = get_repo();

    if is_remote_exist() {
        repo.remote_delete("origin").unwrap();
    } else {
        println!("first connect to remote");
    }
}