The CLI is composed of 2 main components which are broken down into further smaller components.
Authentication manages the Logging-in and Logging-out of the main application. It will be the first part of the CLI that the user interacts with when starting the application and the final component that runs after closing the application.
Authentication will prompt the user to enter credentials for the Master Account, and continue doing so until the credentials are correct. Once the credentials are correct it will log the user in and open the user to the rest of the application.
Allows the user to select whether they want to View/retrieve an account's details, add a new account to the database or quit (Logout) the application completely.
User is prompted with the option of either; Viewing all accounts in the database, Searching for an account base on it's name, Searching for an accounts linked to a single password, Search for an accounts connected to an email.
Prompts the user to add/create a new account in the database
When the application has it's initial launch, this script will run and walk the user through the process of creating their Master Account. It will create the Master Account table in the database and added the user's credentials to the table.