cls 0.1.0

A simple cleaner for Linux terminal
1
2
3
4
5
6
7
8
9
fn main() {
    if cfg!(windows) {
        std::process::Command::new("cls").status().unwrap();
    } else if cfg!(unix) {
        std::process::Command::new("clear").status().unwrap();
    } else if cfg!(target_os = "macos") {
        std::process::Command::new("clear").status().unwrap();
    }
}