You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2019. It is now read-only.
User might want to have more than one address book. We need a way for the user to change the save location.
Let's implement a feature whereby the user is able to change the save location by passing in a command line parameter. For example, the user can execute java seedu.addressbook.Main mynewbook.txt in the command line. The application will then save the address book content inside mynewbook.txt instead of addressbook.txt.
Our application always saves to
addressbook.txt
.User might want to have more than one address book. We need a way for the user to change the save location.
Let's implement a feature whereby the user is able to change the save location by passing in a command line parameter. For example, the user can execute
java seedu.addressbook.Main mynewbook.txt
in the command line. The application will then save the address book content insidemynewbook.txt
instead ofaddressbook.txt
.Implementation details:
Application.getParameters()
to obtain the command line parameter that the user may have typed in.StorageFile#StorageFile(String filePath)
.The text was updated successfully, but these errors were encountered: