Skip to content

Commit 99c599f

Browse files
authored
Update help.rs
1 parent 9eaa692 commit 99c599f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

hacker/atomic/src/help.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
1+
use colored::*;
2+
use std::fs;
3+
pub fn display_ascii() {
4+
match fs::read_to_string("/usr/share/HackerOS/Config-Files/HackerOS-Ascii") {
5+
Ok(content) => println!("{}", content.bright_cyan().bold().on_black()),
6+
Err(_) => println!("{}", "File not found".red().bold().on_black()),
7+
}
8+
}

0 commit comments

Comments
 (0)