Skip to content

Assignment 2 journal app using cobra cli #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pratikpjain
Copy link

@pratikpjain pratikpjain commented Jun 22, 2023

Created cobra-cli journal-app
Features added:

  1. Login/Signup feature [Data stored in authData.txt in encrypted form]
  2. adding new entry [Data stored in journalData.txt in encrypted form]
  3. used cobra-cli
  4. Used encryption-decryption for saving into the files
  5. Added the necessary limits and error-handling
  6. Added the bonus requirement [for directly adding entry at time of login]
  7. After login/signup user is given a prompt to select which action to perform [add new entry or list all the entries]

implemented commands

journal signup --username <username> --password <password>
journal entry --add <new_entry> --username <user_name> --password <password>
journal login --username <user_name> --password <password>

@pratikpjain pratikpjain force-pushed the assignment-2-journal-app-using-cobra-cli branch from db3aeee to 14ef819 Compare June 22, 2023 08:19
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.

1 participant