Skip to content

Support HTML output storing and browser viewing for kro generate diagram -f #942

@Mujib-Ahasan

Description

@Mujib-Ahasan

Feature Description

Problem Statement:
kro generate diagram -f currently only prints HTML output to the console, which becomes hard to use for larger or more complex diagrams. There is no way to persist the output or view it in a browser-friendly format.

Proposed Solution:
Add optional support to store the generated diagram as an HTML file and open it in the browser (e.g. --open flag). Default behavior should remain unchanged to avoid breaking existing usage.

Additional Context:
Storing and optionally opening the output would significantly improve usability and align with common CLI visualization patterns.

  • Please vote on this issue by adding a 👍 reaction to the original issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions