gps 7.3.3

Official CLI & library for Git Patch Stack
Documentation
1
2
3
4
5
6
7
8
9
use ansi_term::Colour::Yellow;

pub fn print_warn(color: bool, message: &str) {
    if color {
        eprintln!("{}", Yellow.paint(message))
    } else {
        eprintln!("{}", message)
    }
}