Summary
Modularize the EventCreator console workflow to reduce the responsibilities in tools/EventCreator/EventCreator/Program.cs.
Rationale
Pull request #1077 adds similar-instance comparison to the existing interactive tool. As additional workflows are added, keeping menu handling, input validation, instance retrieval, comparison, and event output in Program.cs makes maintenance and future extensions more difficult.
Required changes
- Identify cohesive responsibilities currently implemented in
tools/EventCreator/EventCreator/Program.cs.
- Move those responsibilities into focused components or services.
- Keep
Program.cs focused on application startup and composition.
- Preserve the existing EventCreator behavior, including event generation, event analysis, and similar archived-instance comparison.
Affected areas
tools/EventCreator/EventCreator/Program.cs
- Related EventCreator components as needed
Acceptance criteria
Program.cs no longer contains the main implementation logic for all interactive workflows.
- Menu handling, input validation, instance operations, and output formatting have clear ownership.
- Existing EventCreator workflows continue to work with equivalent behavior.
- New components have focused responsibilities and clear names.
Context
Summary
Modularize the EventCreator console workflow to reduce the responsibilities in
tools/EventCreator/EventCreator/Program.cs.Rationale
Pull request #1077 adds similar-instance comparison to the existing interactive tool. As additional workflows are added, keeping menu handling, input validation, instance retrieval, comparison, and event output in
Program.csmakes maintenance and future extensions more difficult.Required changes
tools/EventCreator/EventCreator/Program.cs.Program.csfocused on application startup and composition.Affected areas
tools/EventCreator/EventCreator/Program.csAcceptance criteria
Program.csno longer contains the main implementation logic for all interactive workflows.Context