Welcome to the Daily Diary Manager! This application helps you manage your daily diary entries with ease. You can read, add, delete, count, and search for diary entries based on specific dates.
- Read Diary Content: View the entire content of your diary.
- Add New Entry: Add new entries to your diary with a specific date and content.
- Delete Entry: Remove specific entries from your diary by date.
- Count Entries: Get the total number of entries in your diary.
- Search Entries: Search and read entries for a specific date.
git clone https://github.com/yourusername/daily-diary-manager.git
cd daily-diary-manager
dotnet build
dotnet run --project DiaryManager
When you run the application, you will be presented with a menu of options:
Welcome to Daily Diary
Please enter the number of the wanted operation:
[1] Read the content of the existing diary
[2] Add new entry to the diary
[3] Delete specific entry from the diary
[4] Count the total number of entries
[5] Read entry of a specific date
You can select an option by entering the corresponding number.
Displays the entire content of the diary.
- Enter the date in the format YYYY-MM-DD.
- Enter the number of lines you want to write.
- Enter the content line by line.
Enter the date of the entry you want to delete in the format YYYY-MM-DD.
Displays the total number of entries in the diary.
Enter the date of the entry you want to read in the format YYYY-MM-DD.
Here is an example of how to add a new entry:
Welcome to Daily Diary
Please enter the number of the wanted operation:
[2]
Enter the date in this format: YYYY-MM-DD
2024-06-27
How many lines you want to write?
3
Today was a great day.
We had a lot of fun at the park.
Can't wait for tomorrow!
For any questions or suggestions, please contact [email protected].