Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add resume and continue commands #720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 20, 2024

  1. feat: add commands resume and continue

    Support resuming/continuing the last tracked activity.
    
    When `hamster resume` is called, the last tracked activity is
    started, i.e., the same activity is started again with the current
    start_time. If the `resume` command is called with the option
    `--no-gap`, the activity is started again with its previous end_time.
    
    If `hamster continue` is called, the last tracked activity continues to
    be tracked, i.e., its end_time is removed and there is no gap in the
    time tracking.
    
    Signed-off-by: Olaf Lessenich <[email protected]>
    xai committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e00b308 View commit details
    Browse the repository at this point in the history