#!/bin/bash
# (c) Stefan Trklja Countryman, 2019-2023
# .▄▄ · ▄▄▄▄▄▄▄▄ .·▄▄▄                                     
# ▐█ ▀. •██  ▀▄.▀·▐▄▄·                                     
# ▄▀▀▀█▄ ▐█.▪▐▀▀▪▄██▪                                      
# ▐█▄▪▐█ ▐█▌·▐█▄▄▌██▌.                                     
#  ▀▀▀▀  ▀▀▀  ▀▀▀ ▀▀▀                                      
#  ▄▄·       ▄• ▄▌ ▐ ▄ ▄▄▄▄▄▄▄▄   ▄· ▄▌• ▌ ▄ ·.  ▄▄▄·  ▐ ▄ 
# ▐█ ▌▪▪     █▪██▌•█▌▐█•██  ▀▄ █·▐█▪██▌·██ ▐███▪▐█ ▀█ •█▌▐█
# ██ ▄▄ ▄█▀▄ █▌▐█▌▐█▐▐▌ ▐█.▪▐▀▀▄ ▐█▌▐█▪▐█ ▌▐▌▐█·▄█▀▀█ ▐█▐▐▌
# ▐███▌▐█▌.▐▌▐█▄█▌██▐█▌ ▐█▌·▐█•█▌ ▐█▀·.██ ██▌▐█▌▐█ ▪▐▌██▐█▌
# ·▀▀▀  ▀█▄▀▪ ▀▀▀ ▀▀ █▪ ▀▀▀ .▀  ▀  ▀ • ▀▀  █▪▀▀▀ ▀  ▀ ▀▀ █▪




usage() {
    cat <<<'
BIO: stc.sh [-h]

Software Engineer with a Ph.D. in Physics and a knack for solving intricate problems. Ready to bring my cross-disciplinary expertise, analytical skills, and collaborative spirit to excel as as a software engineer or data scientist.

OPTIONS:
-h          Print this help string.
'
    exit 0
}
for opt in "$@"; do [[ "${opt}" = "-h" ]] && usage; done

# launch repl or compile and launch website.
stef_shell \
    --github "${GITHUB}" \
    --bitbucket "${BITBUCKET}" \
    --conda "${CONDA}" \
    --docker "${DOCKER}" \
    --llama "${LLAMA}" \
    --resume "${RESUME}" \
    --blog "${BLOG}" \
    --dept "${PHYS_DEPT}" \
    --contact "${CONTACT}" \
    --portrait "${PORTRAIT}" \
    --projects "${PROJECTS}" \
    --ligo_data_grid "${LIGO_DATA_GRID}" \
    --dcc "${DCC_DOCUMENTS}" \
    --hn "${HN}" \
    --fortunefile "${FORTUNEFILE}" \
    --publications "${PUBLICATIONS}"


print_version() {
    cat <<__OTACON
#           ▄▄▀▀▀▄▄▄▀▀▀▀▀▀▀▀▄▄
#         ▄▀      █           ▀▄
#        ██   ▄▄▄ █    ▄▄▄      █
#       █ █  ██▀▀▀█▄ ▀▀▀▀▀█      █
#     ▀█▀▀  ▄█            █  █    █
#       █▀▀▀ █           ▄█▄█▀    █
#      █     █▄▄▄▄▄    ▄▄▄▄▄▀▄    █
#      ▀▄  ▄██   ▄ █▀▀█     ██   ▄▀
#        ▀█ ██   ▀ █  █ ▀▀▀ ██▀█ ▀▄▄
#         ▀▄ █▀▀▀▀▀ █  ▀▀▀▀▀█ ▄███▀
#          ███      █       ███▀
#          ████    █▄▄     ████▄
#          ████▄ ▄▄▄▄▄▄▄▄ ▄████
#       ▄▄▄ ▀▀██          ██▀▀
#      █  █    ██        ██
#   ▄▄▄█▄▄▀▄    █       ██
# ▄▀      █ █▄▄▀ █▀█▀▀▀█ █ ▀▄
# █▄  ▀▀▀▀█ █ ▀  █ █   █ █   ▀▀▄
#  █   ▄▄▄█ █ ▄▄██ █   █ ██▀▄   ▀▄
#   ▀█     █▀▀  █ ▀█   █▀ █  █▀▀  █
#     ▀▀▀▀▀     █  █   █▄▀▀▀█   ▄▀
#              █   █▄▄▄█▀▀  ▀▄▄▀
#              █   █████▄   ▄▀
#              █▄▄▄██▀██▄███
#                  ██ ██
#                  ██ ▀██
#                 ▄██  ██
#                 ██   ██
#                 ██   ▀██
#                 ██    ██
#                ▀▀▀    ▀▀
# stef_shell running on ◬SPRITE VER.2.21
__OTACON
    

# old website deprecated, UI was too advanced for user tastes; click
# through to see my take on the eclectic, rarely-updated professorial
# website style. There are actually some useful links in there as
# well.
# old_website --please-stop=true