gou-git 0.2.0

Gou is a CLI git wrapper that enables trunk-based development
Documentation
use std::process::Command;

pub struct Github;

impl Github {
    pub fn create_pr(message: &str, target_branch: &str) {
        Command::new("gh")
            .arg("pr")
            .arg("create")
            .arg("--title")
            .arg(message)
            .arg("--body")
            .arg("")
            .arg("--base")
            .arg(target_branch)
            .spawn()
            .expect("Failed to create PR")
            .wait()
            .expect("Failed to wait for create PR");
    }
}