Skip to content

Feature: Export monkey list to JSON or CSV #9

Description

@wiertmir

Goal

Allow exporting the current monkey list to JSON or CSV files via CLI/export command.

Why

Useful for sharing data and for demos.

Light implementation notes

  • Add ExportHelper with methods ExportJson(IEnumerable<Monkey>, string path) and ExportCsv(IEnumerable<Monkey>, string path) using System.Text.Json and simple string building for CSV.
  • Add an export --format json|csv --out <path> CLI command or an export menu option.
  • Add tests writing to temp files and validating the format.

Files to modify/create

  • MyMonkeyApp/Helpers/ExportHelper.cs
  • MyMonkeyApp/Program.cs (menu/CLI)

Labels:["enhancement","feature-request","good first issue","area-console"]

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