Files
mac_os/bin/run
andreas 2fcf26506a Flatten directory structure and update documentation
- Moved all files from mac_os/ subdirectory to repository root
- Updated README.adoc to reflect simplified architecture
- Updated QUICK_INSTALL.md with all current apps
- Added claude-cli to install.sh and bin/install_homebrew_formulas
- Repository now shows clean file structure without nested mac_os folder
- Documentation now accurately describes opinionated installer approach

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 13:31:07 -06:00

36 lines
1.1 KiB
Bash
Executable File

#! /usr/bin/env bash
# Executes the command line interface.
source lib/installers.sh
source lib/options.sh
source lib/settings.sh
source lib/utilities.sh
source lib/verifiers.sh
while true; do
if [[ $# == 0 ]]; then
printf "\n%s\n" "Usage: run OPTION"
printf "\n%s\n" "macOS Installer Options:"
printf "%s\n" " Install:"
printf "%s\n" " b: Install basics (fonts)."
printf "%s\n" " t: Install development tools (Xcode CLI)."
printf "%s\n" " hf: Install Homebrew Formulas."
printf "%s\n" " hc: Install Homebrew Casks."
printf "%s\n" " m: Install Mac App Store software."
printf "%s\n" " i: Install all (executes all of the above steps in order)."
printf "%s\n" " Manage:"
printf "%s\n" " c: Check status of installed software."
printf "%s\n" " C: Caffeinate machine (prevent sleep during installation)."
printf "%s\n" " w: Clean work (temp) directory."
printf "%s\n\n" " q: Quit/Exit."
read -p "Enter selection: " response
printf "\n"
process_option "$response"
else
process_option "$1"
fi
break
done