mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
24 lines
370 B
Bash
Executable File
24 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
install() {
|
|
# TODO: Handle install / uninstall.
|
|
bob install nightly &&
|
|
bob install stable &&
|
|
bob use nightly
|
|
}
|
|
|
|
uninstall() {
|
|
echo "FIX ME!"
|
|
}
|
|
|
|
arg=${1:-""}
|
|
|
|
if [[ $arg == "install" ]]; then
|
|
install && exit $?
|
|
elif [[ $arg == "uninstall" ]]; then
|
|
uninstall && exit $?
|
|
else
|
|
# TODO: Using logging.
|
|
echo "Error, invalid option" && exit 1
|
|
fi
|