/toggl-cli

Simple CLI for Toggl time tracking

Primary LanguagePython

Toggl CLI

Simple CLI for Toggl time tracking.

Developer Notes

  1. Create a .env file with your Toggl token:
    # Your Toggl API token.
    TOGGL_API_TOKEN = "<your token>"
    
    # Your local time zone.
    TIME_ZONE = "America/Indiana/Indianapolis"
    
    # Active projects; split time will be divided among them.
    ACTIVE_PROJECTS = "Foo, Bar"
    
    # First day of reporting week
    FIRST_DAY = "Saturday"
    
    # Weekly required hours
    WEEKLY_HOURS = 40.0
    
    1. Toggl keeps your API token here.
    2. Don't check this file in to Git. The .gitignore tries to help.
  2. Docs for the API