Skip to content

Modularize EventCreator console workflow responsibilities #1086

Description

@coderabbitai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions