Skip to content

Add CSV output format #23

@maksimov

Description

@maksimov

Add --format csv output option for easy import into spreadsheets and BI tools.

Columns: instance_id, name, source, region, instance_type, gpu_model, gpu_count, state, monthly_cost, estimated_savings, severity, signal_type, recommendation

Implementation:

  • Add a FormatCSV function in internal/output/
  • Use encoding/csv from stdlib
  • Add "csv" case to the format switch in cmd/gpuaudit/main.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions