irongit

The dotfiles manager.

style: big money ascii art

huncholanehuncholaneauthored
parent ee40b7ecommit 4d9af02b82e286a32d69ab55660c00ac4ce8c373Browse files

2 files changed, +12 -0

+9-0ascii.txt
@@ -0,0 +1,9 @@
1+
2+$$$$$$$\ $$$$$$\ $$$$$$$$\ $$\ $$\ $$\ $$\ $$$$$$$\
3+$$ __$$\ $$ __$$\\__$$ __| $$ | $$ |$$ | $$ |$$ __$$\
4+$$ | $$ |$$ / $$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |
5+$$ | $$ |$$ | $$ | $$ | $$$$$$$$ |$$ | $$ |$$$$$$$\ |
6+$$ | $$ |$$ | $$ | $$ | $$ __$$ |$$ | $$ |$$ __$$\
7+$$ | $$ |$$ | $$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |
8+$$$$$$$ | $$$$$$ | $$ | $$ | $$ |\$$$$$$ |$$$$$$$ |
9+\_______/ \______/ \__| \__| \__| \______/ \_______/
+3-0src/main.rs
@@ -17,6 +17,7 @@ const DEFAULT_DOTHUB_PATH: &str = ".local/share/dothub";
1717 const DEFAULT_HUB_URL: &str =
1818 "https://raw.githubusercontent.com/huncholane/dothub/main/hub.yml";
1919 const GH_TOKEN_HELP_URL: &str = "https://github.com/settings/personal-access-tokens";
20+const ASCII_BANNER: &str = include_str!("../ascii.txt");
2021
2122 #[derive(Parser)]
2223 #[command(
@@ -408,6 +409,8 @@ enum FlexEntry {
408409 }
409410
410411 fn cmd_hub(types: Vec<String>, url: Option<String>) -> Result<()> {
412+ // Print ASCII banner at the top
413+ println!("{}", ASCII_BANNER);
411414 let url = url.as_deref().unwrap_or(DEFAULT_HUB_URL);
412415 let yaml = match fetch_text(url) {
413416 Ok(text) => text,