From e988ed1984d7427da5e754afc8cba5e38f7c2f68 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Dec 2025 22:46:22 +0000 Subject: [PATCH 1/2] Initial plan From 9a3b70d82304b4d873846a763e4478bfda7a66ba Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Dec 2025 22:48:37 +0000 Subject: [PATCH 2/2] Add documentation for --section flag in README Co-authored-by: bgreg <3711139+bgreg@users.noreply.github.com> --- README.md | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 57a22d1..ce91c39 100644 --- a/README.md +++ b/README.md @@ -279,12 +279,41 @@ brew install figlet ### Command Line Options ```bash -./goodmorning.sh # Run with default settings -./goodmorning.sh --noisy # Enable text-to-speech greeting -./goodmorning.sh --doctor # Run system diagnostics and validation -./goodmorning.sh --help # Show help message +./goodmorning.sh # Run with default settings +./goodmorning.sh --noisy # Enable text-to-speech greeting +./goodmorning.sh --doctor # Run system diagnostics and validation +./goodmorning.sh --section cat # Run a single section (skips preflight/updates) +./goodmorning.sh --help # Show help message ``` +**Running Individual Sections:** +You can run a single section without preflight checks or background updates: +```bash +./goodmorning.sh --section weather +./goodmorning.sh --section word +./goodmorning.sh --section github-prs +``` + +Available sections: +- `weather` - Current weather conditions +- `history` - Historical events for today +- `tech-versions` - Latest versions of tools and technologies +- `country` - Random country of the day +- `word` - Word of the day with definition +- `wikipedia` - Wikipedia featured article +- `apod` - NASA Astronomy Picture of the Day +- `cat` - Random cat picture +- `calendar` - Today's calendar events +- `reminders` - Upcoming reminders +- `github` - GitHub notifications +- `github-prs` - GitHub pull requests requiring review +- `github-issues` - GitHub issues assigned to you +- `alias-suggestions` - Shell alias suggestions +- `system-info` - System information and updates +- `learning` - Daily learning resource +- `sanity` - Sanity maintenance tips +- `tips` - AI-powered learning tips + **Text-to-Speech:** By default, the spoken "Good morning" greeting is disabled. Enable it with: - Runtime flag: `./goodmorning.sh --noisy`