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"]
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
ExportHelperwith methodsExportJson(IEnumerable<Monkey>, string path)andExportCsv(IEnumerable<Monkey>, string path)usingSystem.Text.Jsonand simple string building for CSV.export --format json|csv --out <path>CLI command or anexportmenu option.Files to modify/create
Labels:["enhancement","feature-request","good first issue","area-console"]