1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
//! # prettycli
//!
//! `prettycli` is a collection of handy functions to print messages to terminal
//! with emojis and colors 😍
//!
//! <img src="https://user-images.githubusercontent.com/2767425/39296879-b532e770-495f-11e8-9821-fb0464126ca7.png"/>
//!
/// Takes a message `&str` as input and
/// Prints <p style='color:red;'>🤦 ERROR : message</p>
///
/// # Examples
///
/// ```
/// prettycli::error("This is an error message!");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:green;'>💁 INFO : message</p>
///
/// # Examples
///
/// ```
/// prettycli::info("This is an infomation!");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:yellow;'>⚠️ WARN : message</p>
///
/// # Examples
///
/// ```
/// prettycli::warn("This is a warning!");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:blue;'>🙄 WAIT : message</p>
///
/// # Examples
///
/// ```
/// prettycli::wait("Compiling...");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:purple;'>🚨 CRITICAL : message</p>
///
/// # Examples
///
/// ```
/// prettycli::critical("Are you sure, you want to remove the file ?");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:cyan;'>⚡ CMD : message</p>
///
/// # Examples
///
/// ```
/// prettycli::command("echo $HOME");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:blue;'>🔗 LINK : </p> <p style='color:blue;text-decoration:underline'>message</p>
///
/// # Examples
///
/// ```
/// prettycli::link("echo $HOME");
/// ```
/// Takes a message `&str` as input and
/// Prints <p style='color:grey;'>😴 MISC : message</p>
///
/// # Examples
///
/// ```
/// prettycli::misc("echo $HOME");
/// ```