Skip to content
Snippets Groups Projects
Commit 2446520a authored by y.zobus's avatar y.zobus
Browse files

added logo suggestions + intro text for cli

parent bea37420
No related branches found
No related tags found
1 merge request!15Resolve "Project name and logo"
Pipeline #7590 passed
......@@ -7,4 +7,5 @@
# include dot files in /files_for_testing/*
!/files_for_testing/**
!/logo/**
File added
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
/#%%#(/* ,**
,(%&&&&&&%(, .////,*//*/((#(/.
*#%%%&&&&&&%/. ,((((((((((((((/. . ,,,,,
,(##%%%&&&&&%( ./(##((((((###(///(((((/*. ./#%&&&&%#,
/(##%%%%&&&&%/ .. *(######(((#%##(/(##(((##((///**,, .(%&&&&&&&%%(
/(###%%%&&&%/ .. ..,*//(((((###%%%###%%#((((((((((((((#((/.. ,#%&&&&&%%%%#(
*/(##%%%&&%( .*****,********//((##%%%%%#(##(((###%########/, *#&&&&&%%%%###*
.**/(#%&&%(.//*************,,,,***//((##%%%#####%###((/////***, #&&&&&%%%###(/
.(%%(/////(((////*******,,****//(##%%#%%#((/****,*,,,,,,,,,, ,#&&&&%%%###(/*
*((((((#######(((//*****,,****//(###((/*****,,,,,,**********,./%&&&%%%##((/.
,/((##############((//****,,****//////*************///////***/(%%%#(/*.
./(####%%%%%%%%%%%%##((/****,,******************///((((((((/////*.
,(###%%%%%%%%%%%%%%%%##(/****,***************//(((((###(((((((//*.
*(##%%%%#/, .*(%%%#((/*****************//(((###########((((//.
./(##%%#*. ,(%%#(//***************//((####(///(#####((((/.
*(###%#* ./#%%/, ,#%#((/**************//((##(, ,/###(((*.
/(##%%(..(&@@@@@&#, *%%##(//************//((##/. *##(((,
/(###%%(,/&@@@@@@@@&//%%%##(//************/((##(. ,(%@@@%* .(#((/.
*((((##%%#/(&@@@@@@@@@&%%%%#((//***********//((#%(,/&@@@@@@@&*,(#((/.
, *//(((((###%%%#(#&@@@@@@&%%##((/**,,,,,,,,,,,**//(###%@@@@@@@@@%/(#((//*.
*, ,***/((///(#%%%%#####((/*,,,.....................,*/(%&&@@@&%#(#((((/**.
../////////***/*,,,,****,,..................................,,*//////////////..
..*/(###(((///*,..........................................................,*** ,/,
..,*//((#####(/*,......................,*//((((((//*,......................,,**((*,
.,/((######(*,...................,*(##((/*,,,,,*/(/,.......................,*
,//((((######/,,,,.............,,*/##(/*,,,,,,,,,*/*.........................
.///(((((#(*,**///***,,,,,,,***//(((((//*////*****,...................,...*/*.
,//((((((####(//**//(((////////(((((((((((((/**,,.....,,.......,**,.*/*.
*/(((((#######(///((///////((#%%&&&&&&%%#//****///*,,//**/((((///*,
.*/(((((########%##%%&&#&&%#%&@@@@@@@@@&%#&&&%#####((((//**,,....
.,*/(((((########%%%&%#%#/(&@@@@@@@@@&((%&&%((/////***,,,...,
,/(((((((#######%%%#(&@@@%/**#@@@&#((##(///*****,,,,.,.
.(%((((((#######%#((&@&#//(#&@&#//(///******,,,,*..
**#((((((######(//%&%(/(#&%(*//*******,,**,,
.(#(((((((###(/*/%%%%%(*///****,,***,.
*%%#((((((((((/*****//****,,,**.
(#((((((((((((((//***,,,,,
.(((((((((((//***,,,,,
/((((///***,,,,.
.:^
:: ......:::^^^^:.. .:.
:!?Y55YJ?!^. ..:^^^^^^^^^^^^^^^^^^^^^^^^^^:..
.5#&&&&&&&&&&&&#P7. .:^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^:.. :!J5PGGBBGPY!:
~&&&&#GGB#&&&&&&&&&&P?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!P#&&&&&&&&&&&&&&B!
B&&&&&#G5YY5GB&&&&&&&&B7^^:^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^:^!P&&&&&&&&&&##B#&&&&&&J
B&&&&&&&&BBG5?7JPB&&&&&&#PJ!^^^^^^^^^^^^^^^^^^^^^^^^^^^^:^~!JP&&&&&&#BP5YJJYPB&&&&&&#
^&&&&&&&&5!!J5Y^:^~5&&&&&&&&BP?~^^^^^^^^^^^^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~BBG :BB5 PBBBB? .BBB
:5B#P?!!75BBG7 PB#~ :5B#GJ!!7YB#G? BBB#####&###J .5B#P?!!75BBP. !BBBY7!7YBBG^ :#B5 ~BBBG. .BBB
.!J5PP5Y7^ ?JY: .~J5PP5Y7^ 5BB#&@@&#5~. :!Y5PP5Y7^ .~J5PPP5?~. .JJ7 ?JY~ JJJ
7PGBBBGPJ~.
.^!?5BBB!
^55J !BBG
5BBP!^:^7GBB!
^JPBBBBG5?.
%/ ,%, *%. %/
/@@@//#@@@@ #@@@@@@@@( *@@@&/%@@@&* /@@&//@@& #@@@/#@@. .@@@, %@@ (@@@@% ,%@@@&
.@@@, &@& #@@& %@@% (@@( @@@/ &@&, /@@@ .@@@, %@@ (@@@@@( ,@@%@@&
.@@* &@@# #@@@,,,&@@ *@@@ .@@/ %@@@@*, /@@@@@# .@@@, %@@ (@@@.@@/ @@/ &@&
.@@* &@@( #@@@@@@, *@@@ .@@/ (@@@% ,@@@@ .@@@, %@@ (@@@ ,@@*.@@# &@&
*@@@ #@@& #@@& (@@@ @@@# & &@@%/* (@@ *@@, (@@@ (@@@ /@@@@% &@&
#@@@@@@@, #@@& ..@@@@@@@@. &@@@@@@@. /@@@@@@@/ #@@@@@@/ (@@@ #@@@ &@&
\ No newline at end of file
Opossum - Open-source Optics Simulation System and Unified Modeler
\ No newline at end of file
......@@ -152,6 +152,54 @@ impl TryFrom<PartialArgs> for Args{
}
}
pub fn show_intro(){
println!(" .:^
:: ......:::^^^^:.. .:.
:!?Y55YJ?!^. ..:^^^^^^^^^^^^^^^^^^^^^^^^^^:..
.5#&&&&&&&&&&&&#P7. .:^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^:.. :!J5PGGBBGPY!:
~&&&&#GGB#&&&&&&&&&&P?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!P#&&&&&&&&&&&&&&B!
B&&&&&#G5YY5GB&&&&&&&&B7^^:^^^^^^^^^^^^^^^^^^^^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!. :BBG .##G. :BBY GB5 .BBJ.BBB
GBB? .BBB: PBBPYYYJJ7^ YBBY .GBBG#&&#BBBBBBBB#&&#Y. .:^!YBBB^ :BBG :BBG :BB5 !BB~JBB..BBB
~BBB~ .5BBY PBB~ :BBB! .YBB5 .P&PPBBBBBB5G&&. 7GG? YBBY .BBB: ~BBG :BB5 PBBBB? .BBB
:5B#P?!!75BBG7 PB#~ :5B#GJ!!7YB#G? BBB#####&###J .5B#P?!!75BBP. !BBBY7!7YBBG^ :#B5 ~BBBG. .BBB
.!J5PP5Y7^ ?JY: .~J5PP5Y7^ 5BB#&@@&#5~. :!Y5PP5Y7^ .~J5PPP5?~. .JJ7 ?JY~ JJJ
7PGBBBGPJ~.
.^!?5BBB!
^55J !BBG
5BBP!^:^7GBB!
^JPBBBBG5?.
Opossum - Open-source Optics Simulation System and Unified Modeler
")
}
#[cfg(test)]
mod test {
......
use opossum::{console::{Args, PartialArgs}, error::OpossumError};
use opossum::{{
console::{Args, PartialArgs, show_intro},
error::OpossumError}
};
use clap::Parser;
type Result<T> = std::result::Result<T, OpossumError>;
fn main() -> Result<()>{
//not necessary, just for fun
show_intro();
let opossum_args = Args::try_from(PartialArgs::parse())?;
println!("file path: {}", opossum_args.file_path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment