@@ -23,13 +23,32 @@ use crate::utils::uid::Uid;
2323use crate :: { option:: Config , storage:: StorageMetadata } ;
2424
2525pub fn print ( config : & Config , meta : StorageMetadata ) {
26+ print_ascii_art ( ) ;
2627 let scheme = config. parseable . get_scheme ( ) ;
2728 status_info ( config, & scheme, meta. deployment_id ) ;
2829 storage_info ( config) ;
2930 about:: print ( ) ;
3031 println ! ( ) ;
3132}
3233
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+
3352fn status_info ( config : & Config , scheme : & str , id : Uid ) {
3453 let url = format ! ( "\" {}://{}\" " , scheme, config. parseable. address) . underlined ( ) ;
3554 let mut credentials =
@@ -42,10 +61,10 @@ fn status_info(config: &Config, scheme: &str, id: Uid) {
4261 eprintln ! (
4362 "
4463 {}
45- Running at: {}
64+ URL: {}
4665 Credentials: {}
4766 Deployment UID: \" {}\" " ,
48- "Parseable Server" . to_string( ) . bold( ) ,
67+ "Server: " . to_string( ) . bold( ) ,
4968 url,
5069 credentials,
5170 id. to_string( ) ,
0 commit comments