Skip to content

Convert :setup to SetupCommand (#392)#21

Open
ChrisonSimtian wants to merge 1 commit into
cli-cmd-add-packagefrom
cli-cmd-setup
Open

Convert :setup to SetupCommand (#392)#21
ChrisonSimtian wants to merge 1 commit into
cli-cmd-add-packagefrom
cli-cmd-setup

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Owner

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

Lifts :setup into SetupCommand : IFalloutCommand — first command to take IConsolePrompts via the constructor. Scaffolding helpers (WriteBuildScripts/WriteConfigurationFile/GetTemplate, and test-exercised UpdateSolutionFileContent) stay on Program as internal residual until the collapse PR (#26). A transitional internal Program.Setup shim keeps the still-legacy cake handler compiling; removed when cake converts (#24). Replaces the DelegateCommand adapter. Name/behaviour unchanged.

Verification

Fallout.Cli.Tests 30 pass.


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

🤖 Generated with Claude Code

Lift the :setup scaffolding handler into a standalone IFalloutCommand type that
takes IConsolePrompts via the constructor (first command to use injected prompts).
The scaffolding helpers (WriteBuildScripts/WriteConfigurationFile/GetTemplate and
the test-exercised UpdateSolutionFileContent) stay on Program as internal residual
until the Fallout-build#392 collapse PR. A transitional internal Setup shim remains on Program
so the still-legacy cake handler keeps compiling; it is removed when cake converts.

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