Skip to content

Convert :update to UpdateCommand (#392)#22

Open
ChrisonSimtian wants to merge 2 commits into
cli-cmd-setupfrom
cli-cmd-update
Open

Convert :update to UpdateCommand (#392)#22
ChrisonSimtian wants to merge 2 commits into
cli-cmd-setupfrom
cli-cmd-update

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Owner

Part of Fallout-build#392 (one command per PR). Stacked on #16 — merge after it lands.

Lifts :update (and its build-script/project/config/global.json update steps) into UpdateCommand : IFalloutCommand, taking IConsolePrompts via the constructor. Calls the shared GetConfiguration/WriteBuildScripts/WriteConfigurationFile helpers still on Program (residual until the collapse PR #26). Replaces the DelegateCommand adapter; deletes Program.Update.cs. Name/behaviour unchanged.


Re-raised fork-internally to move the cli-cmd stack off the main repo. Supersedes Fallout-build#400; same history and diff.

🤖 Generated with Claude Code

ChrisonSimtian and others added 2 commits June 17, 2026 22:32
Lift the :update handler (and its build-script/project/config/global.json update
steps) into a standalone IFalloutCommand type taking IConsolePrompts via the
constructor. Calls the shared GetConfiguration/WriteBuildScripts/WriteConfigurationFile
helpers still residing on Program until the Fallout-build#392 collapse PR. Replaces the
DelegateCommand adapter; deletes Program.Update.cs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Name resolution and the decline-all path (no build script, every confirmation
declined: no steps run, command still completes). Adds a shared FakeConsolePrompts
test double reused by the secrets/cake command tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target/2026 Releases on the 2026 calendar line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant