feat: add --yolo flag for full one-command install#23
Merged
Conversation
Add a --yolo global flag that performs a maximal install in one shot: rich profile (auto-detected by OS), all packages, all tools, auto-yes. The flag sets four composable env vars (DOTFILES_PREFER_RICH, DOTFILES_ALL_PACKAGES, DOTFILES_ALL_TOOLS, DOTFILES_YES) consumed by the existing run_install() path — no parallel orchestration function. Python resolve_profile() gains a 7-line rich upgrade that respects SSH detection (ssh-server is never upgraded) and explicit --profile overrides. Explicit --skip-tools/--skip-apply flags win over yolo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
alohays
commented
Mar 19, 2026
Owner
Author
alohays
left a comment
There was a problem hiding this comment.
Code review
No issues found. Checked for bugs and CLAUDE.md compliance.
🤖 Generated with Claude Code
alohays
added a commit
that referenced
this pull request
Mar 19, 2026
…nd contributing Feature --yolo install and tools install --all from PRs #22-#23 were undocumented. This adds them prominently: - README Quick Start: new "Full Setup: One Command" section for --yolo - README What You Get: add yolo mode row, fix test count 66 -> 78 - README Agent Tools: document tools install/plan --all, auth hints - docs/visual.md: restructure full setup section to lead with --yolo - CONTRIBUTING.md: add tools.sh/packages.sh/banner.sh to architecture tree, add Environment Variables subsection for DOTFILES_* coordination - Fix packages.sh --all help text bug (said default,agents, actually installs default,agents,visual) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--yologlobal CLI flag that performs a maximal install in one shotmacos-desktop-rich/linux-desktop-rich)--yesfor auto-approvalDesign
--yolosets four composable env vars consumed by the existingrun_install()path — no new orchestration function:DOTFILES_YES=1DOTFILES_PREFER_RICH=1-richvariantDOTFILES_ALL_PACKAGES=1DOTFILES_ALL_TOOLS=1Each env var works independently and can be set without
--yolo.Flag conflict resolution
--yolo --skip-tools→ skip wins (if/elif chain)--yolo --skip-apply→ skip wins--yolo --profile X→ explicit profile wins (rich upgrade only applies during auto-detection)--yolo --dry-run→ all phases run in dry-run modessh-server(never upgraded to rich)Test plan
test_yolo_in_help— help output contains--yolotest_yolo_dry_run_all_phases— dry-run shows rich profile, all tools, all packagestest_yolo_skip_tools_wins—--skip-toolsoverrides yolotest_yolo_skip_apply— tools+packages still run when apply is skippedresolve_profile()rich upgrade (Darwin, Linux, SSH, explicit profile, missing rich file, prefer_rich=0)🤖 Generated with Claude Code