@@ -23,13 +23,32 @@ use crate::utils::uid::Uid;
23
23
use crate :: { option:: Config , storage:: StorageMetadata } ;
24
24
25
25
pub fn print ( config : & Config , meta : StorageMetadata ) {
26
+ print_ascii_art ( ) ;
26
27
let scheme = config. parseable . get_scheme ( ) ;
27
28
status_info ( config, & scheme, meta. deployment_id ) ;
28
29
storage_info ( config) ;
29
30
about:: print ( ) ;
30
31
println ! ( ) ;
31
32
}
32
33
34
+ fn print_ascii_art ( ) {
35
+ let ascii_name = r#"
36
+ `7MM"""Mq. *MM `7MM
37
+ MM `MM. MM MM
38
+ MM ,M9 ,6"Yb. `7Mb,od8 ,pP"Ybd .gP"Ya ,6"Yb. MM,dMMb. MM .gP"Ya
39
+ MMmmdM9 8) MM MM' "' 8I `" ,M' Yb 8) MM MM `Mb MM ,M' Yb
40
+ MM ,pm9MM MM `YMMMa. 8M"""""" ,pm9MM MM M8 MM 8M""""""
41
+ MM 8M MM MM L. I8 YM. , 8M MM MM. ,M9 MM YM. ,
42
+ .JMML. `Moo9^Yo..JMML. M9mmmP' `Mbmmd' `Moo9^Yo. P^YbmdP' .JMML. `Mbmmd'
43
+ "# ;
44
+
45
+ eprint ! ( "{}" , ascii_name) ;
46
+ eprintln ! (
47
+ "
48
+ Welcome to Parseable Server!"
49
+ ) ;
50
+ }
51
+
33
52
fn status_info ( config : & Config , scheme : & str , id : Uid ) {
34
53
let url = format ! ( "\" {}://{}\" " , scheme, config. parseable. address) . underlined ( ) ;
35
54
let mut credentials =
@@ -42,10 +61,10 @@ fn status_info(config: &Config, scheme: &str, id: Uid) {
42
61
eprintln ! (
43
62
"
44
63
{}
45
- Running at: {}
64
+ URL: {}
46
65
Credentials: {}
47
66
Deployment UID: \" {}\" " ,
48
- "Parseable Server" . to_string( ) . bold( ) ,
67
+ "Server: " . to_string( ) . bold( ) ,
49
68
url,
50
69
credentials,
51
70
id. to_string( ) ,
0 commit comments