Skip to content

Convert :cake-convert and :cake-clean to command types (#392)#24

Open
ChrisonSimtian wants to merge 3 commits into
cli-cmd-secretsfrom
cli-cmd-cake
Open

Convert :cake-convert and :cake-clean to command types (#392)#24
ChrisonSimtian wants to merge 3 commits into
cli-cmd-secretsfrom
cli-cmd-cake

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Owner

Part of Fallout-build#392. Stacked on #16 — merge after it lands.

Per the locked decision, cake's two verbs become discrete commands with names preserved: CakeConvertCommand (cake-convert) and CakeCleanCommand (cake-clean), both taking IConsolePrompts via the constructor. The .cake rewriting helpers (GetCakeFiles/GetCakeConvertedContent/GetCakePackages) stay on Program as internal residual (exercised by the Cake tests) until the collapse PR (#26). Replaces both DelegateCommand adapters.

Verification

Fallout.Cli.Tests 30 pass.


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

🤖 Generated with Claude Code

ChrisonSimtian and others added 3 commits June 17, 2026 22:34
Lift the two cake handlers into CakeConvertCommand and CakeCleanCommand (discrete
commands, names preserved) taking IConsolePrompts via the constructor. The .cake
syntax-rewriting helpers (GetCakeFiles/GetCakeConvertedContent/GetCakePackages)
stay on Program as internal residual — GetCakeConvertedContent/GetCakePackages are
exercised directly by the Cake conversion tests — until the Fallout-build#392 collapse PR.
Replaces both DelegateCommand adapters. Tests: 30 pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Name resolution and the decline-delete path (returns 0, removes nothing).
CakeConvertCommand is integration-only (initializes MSBuild), tested via the
existing Cake conversion tests rather than a command unit test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: ITaluone <44049228+ITaluone@users.noreply.github.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