knbr13 / gitcs

📈 Command line tool written in Go. It allows developers to scan their local Git repositories and generate a visual contributions graph.
MIT License
116 stars 11 forks source link

Add Interactive Mode for User Input #7

Closed knbr13 closed 1 year ago

knbr13 commented 1 year ago

This pull request adds an interactive mode to the program, allowing users to input the email address and folder path directly within the program instead of providing them as command-line arguments. This enhancement provides a more convenient and guided approach for users who prefer a user-friendly interface.

Additionally, the pull request includes improved validation for the email address input, using a regular expression pattern to ensure a valid email format. The validation helps prevent incorrect email addresses from being accepted.

Furthermore, the logic for taking user input has been moved to a separate file, enhancing code organization and separation of concerns.

This feature aims to improve the overall usability and user experience of the program, making it more accessible to a wider range of users.