Skip to content

Convert :add-package to AddPackageCommand (#392)#20

Open
ChrisonSimtian wants to merge 1 commit into
cli-cmd-get-configurationfrom
cli-cmd-add-package
Open

Convert :add-package to AddPackageCommand (#392)#20
ChrisonSimtian wants to merge 1 commit into
cli-cmd-get-configurationfrom
cli-cmd-add-package

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Owner

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

Lifts :add-package into AddPackageCommand : IFalloutCommand. The shared AddOrReplacePackage helper and PACKAGE_TYPE_*/BUILD_PROJECT_FILE constants stay on Program as residual (still used by cake + the Cake tests) until the collapse PR (#26). Replaces the DelegateCommand adapter. Name/behaviour unchanged.


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

🤖 Generated with Claude Code

Lift the :add-package handler into a standalone IFalloutCommand type. The shared
AddOrReplacePackage helper and PACKAGE_TYPE_*/BUILD_PROJECT_FILE constants stay on
Program as residual (still used by cake and tests) until the Fallout-build#392 collapse PR moves
them into services. Replaces the DelegateCommand adapter.

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