Added feature to retrieve song records in json format. One issue is that the json file is in one line

This commit is contained in:
kdeng00
2019-07-31 21:52:06 -04:00
parent 24a111e8e9
commit f81b481f38
7 changed files with 130 additions and 13 deletions
+10 -10
View File
@@ -14,17 +14,17 @@ using Managers::CommitManager;
int main(int argc, char** argv)
{
if (argc < 2)
{
cout<<"No actions provided"<<endl;
return 1;
}
if (argc < 2)
{
cout<<"No actions provided"<<endl;
return 1;
}
ActionManager actMgr{argv};
auto chosenAction = actMgr.retrieveIcarusAction();
ActionManager actMgr{argv};
auto chosenAction = actMgr.retrieveIcarusAction();
CommitManager commitMgr{chosenAction};
commitMgr.commitAction();
CommitManager commitMgr{chosenAction};
commitMgr.commitAction();
return 0;
return 0;
}