
* Refactor logging to switch between stdout and file logging * Use "clear" instead of "tput reset" for unix * Remove redundant comments
30 lines
658 B
Rust
30 lines
658 B
Rust
use colored::Colorize;
|
|
use log::info;
|
|
|
|
pub fn print_splash() {
|
|
info!(
|
|
"{}",
|
|
format!(
|
|
r#"
|
|
&&&&&&&&&&&
|
|
&&&&&&&&&&&&&&&&&
|
|
&&&&&&&&&&&&&&&&&&&&&
|
|
&& &&&&&&&&&
|
|
&&&&&&&&&&&& &&&&&&&&&&&
|
|
&&&&&&&&&&&&& &&&&&&&&&&&&
|
|
&&&&&&&&&&&&& &&&&&&&&&&&&&
|
|
&&&&&&&&&&&& &&&&&&&&&&&&&
|
|
&&&&&&&&&&& &&&&&&&&&&&&
|
|
&&&&&&&&& &&
|
|
&&&&&&&&& &&
|
|
&&&&&&&&&&&&&&&&&&&&&
|
|
&&&&&&&&&&&&&&&&&
|
|
&&&&&&&&&&&
|
|
|
|
Version: {}
|
|
"#,
|
|
env!("CARGO_PKG_VERSION").color("yellow")
|
|
)
|
|
.bright_black()
|
|
);
|
|
}
|