This script use the togglCli (python) to populate TOGGL
Requirements:
- brew coreutils (brew install coreutils) for gdate
- Python 3.7.3
- togglCli for python (pip install togglCli)
For the usage and installation of togglCli see the documentation page: https://coast.xpeppers.com/#tutorial/togglcli.html
PROJECT_ID=12345 COMMAND=toggl bash ~/toggl-cli-wrapper/toggl.sh this_week
COMMAND could be set to echo toggl to enable debug and print only commands