This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Conversation
Owner
|
This is a cool and very useful idea. I really appreciate your contribution. Just gimme some time to look into it and try it out. :) |
Owner
|
I merged your PR but did some refactoring so the code looks a bit cleaner. Thank you so much for your contribution, I really appreciate it. I will release a new version of gtt containing this feature within the next few days. |
Contributor
Author
|
that's great. Thanks for the making this project :) |
Owner
|
You're welcome. :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've added a first version of the "gtt resume" command.
When working on a project and have to switch contexts, like fixing a bug in another project, then returning to the original work, this commands "resume" the tracking.
This is a first version of the command, I may have not considered all usecases. Instead editing/reoping the original entry, a new edit is created. Please comment on the code, where you like to do something else or throw it away entirely :)
I like to use a .gtt.yml file per project, so specifying the --project parameter via commandline is not necessary for me, as that is assumed from the config. If the user does not have a .gtt.yml, the last entry will be recontinued. Also useful for breaks, etc.