Skip to content

Olena/Member Directory Command Line Tool/CSV#12

Open
OlenaReukova wants to merge 14 commits intoWomen-Coding-Community:mainfrom
OlenaReukova:member
Open

Olena/Member Directory Command Line Tool/CSV#12
OlenaReukova wants to merge 14 commits intoWomen-Coding-Community:mainfrom
OlenaReukova:member

Conversation

@OlenaReukova
Copy link
Contributor

This PR adds a Member model class with fields, constructor, getters, and toString().

It also introduces MemberRepository for in-memory storage and CSV file-based storage., including saving members to a file and loading them on application start.

A simple CLI was added in Main to create members, save them to CSV, and display the member list in the console.

project name: Member Directory Command Line Tool

@OlenaReukova OlenaReukova changed the title Member Olena/Member Directory Command Line Tool/CSV Feb 26, 2026
import java.util.List;

//repository is responsible for saving, retrieving data
public class MemberRepository {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really good start, have you thought about extending the repository ? Can you think of adding some abstraction layer ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants