gps 7.3.3

Official CLI & library for Git Patch Stack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(feature = "backup_cmd")]
use gps as ps;
#[cfg(feature = "backup_cmd")]
use std::string::String;

#[cfg(feature = "backup_cmd")]
pub fn backup_stack(branch_name: String) {
    match ps::backup_stack(branch_name) {
        Ok(_) => {}
        Err(e) => {
            eprintln!("Error: {:?}", e);
            std::process::exit(1);
        }
    }
}