Skip to content

Support multiple output formats from a single scan #4

@drogers0

Description

@drogers0

Problem

Currently --format accepts only a single value (json, html, or sarif). To get reports in multiple formats, users must run the scan multiple times, duplicating potentially expensive embedding and similarity work.

Expected behavior

A single scan should be able to produce multiple output formats, e.g.:

clonehunter scan . --format json html
clonehunter scan . --format all

Each format would write to its default filename (clonehunter_report.json, clonehunter_report.html, etc.) or to paths specified via --out.

Scope

This applies to both scan and diff subcommands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions