ngiachou / WalletHero

A hero we all deserve. Tracking your monthly costs was never been so much fun.
GNU General Public License v3.0
0 stars 0 forks source link

implements mainApp.py main functionality #24

Closed ngiachou closed 5 years ago

ngiachou commented 5 years ago

Implements #14 The basic functionality is that the script shows some menus to the user depending on the existence and contents of a account.json file. There are some TODOs left for future implementation, due to dependency to other modules.

The menus are shown as described in #14 however the account.json contents are hypothetical and are subject to change.

Contents of account.json

If the file exists then it must contain a dictionary at top-level. The dictionary keys must be strings of dates following the iso-format (see date objects in Python 3)

An example of the contents of that file is the following

{
  "2018-12-02": [],
  "2018-12-05": [],
  "2018-11-10": [],
  "2018-10-10": [],
  "2018-12-10": []
}

The order of the keys does not matter.

ngiachou commented 5 years ago

@pagidas @kpaxiotis I've made some changes please check 'em.

ngiachou commented 5 years ago

Implemented a clear console functionality. It is OS independent and we should check that.