feat(app): provide a way to customize the Dispatcher
Metadata
Current evaluation
Merged #281 via commit f5c735fc, adding a customizable Dispatcher hook so applications such as Snapcraft can set their own default command without changing craft-application defaults.
Resolution: closed resolved
Reason: The pull request was merged, and repository history identifies commit f5c735fc as its implementation. The change adds an overridable dispatcher factory, enabling downstream applications to customize command handling while preserving craft-application's defaults.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The motivation here is Snapcraft: it needs a way to provide a default command
(pack), but we explicitly do not want to support this at the craft-application
level.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #281 via commit f5c735fc, adding a customizable Dispatcher hook so applications such as Snapcraft can set their own default command without changing craft-application defaults. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #281 via commit f5c735fc, adding Dispatcher customization so Snapcraft can set a default `pack` command without adding that default to craft-application. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a feature to customize the Dispatcher, allowing Snapcraft to set a default command without supporting it at the craft-application level. Approved by three reviewers, passed CI checks, and updated one file with 14 additions and 6 deletions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #58 Support for a default command in Dispatcher (CRAFT-760). | craft-cli | merged | Added and documented Dispatcher support for a default command under CRAFT-760; approved PR #58 merged into main in commit 7bc0567. |