Comments (5)
The semantics are that "start" starts a new entry, while "continue" continues an existing entry. I'm not sure I would want to confuse the two.
from toggl-cli.
@drobertadams indeed, I ended up taking a look at the code (as you are aware from the unrelated PRs), turns out my expectation was what the code was already doing when continue
was called on a new day, so I did this, staff0rd/toggl-cli@9d8a6e9, which as you suggest is probably not what you're intending.
However, maybe staff0rd/toggl-cli@afb515c is helpful without the above? - should I create a PR for it?
from toggl-cli.
I think your last suggestion makes sense. It continues the last entry if no
parameters are given. Go ahead with the PR.
Robert
On Fri, Oct 16, 2015 at 7:21 PM Stafford Williams [email protected]
wrote:
@drobertadams https://github.com/drobertadams indeed, I ended up taking
a look at the code (as you are aware from the unrelated PRs), turns out my
expectation was what the code was already doing when continue was called
on a new day, so I did this, staff0rd/toggl-cli@9d8a6e9
staff0rd@9d8a6e9,
which as you suggest is probably not what you're intending.However, maybe staff0rd/toggl-cli@afb515c
staff0rd@afb515c
is helpful without the above? - should I create a PR for it?—
Reply to this email directly or view it on GitHub
#39 (comment)
.Dr. Robert Adams
School of Computing and Information Systems
Grand Valley State University
from toggl-cli.
The toggl web UI defaults continue to creating a new entry, which is why the toggl-cli continue
operation does not seem intuitive to me. The web UI has the following settings under My Profile;
- Save start and stop times (a new entry is created each time) [Default]
- Save duration only (continues on top of the existing time entry)
Setting this option to Save duration only causes the web UI to perform the continue similar to toggl-cli's continue
.
Would you accept a PR where an option similar to the settings above is included in .togglrc
(defaulting to your continue expectation if required) so that a user can control whether toggl-cli creates a new entry or not?
from toggl-cli.
Yes I would certainly accept that. I personally like continuing previous
entries (saving duration only), but as long as there's a flag in .togglrc,
it can certainly work both ways.
On Thu, Nov 12, 2015 at 12:09 AM Stafford Williams [email protected]
wrote:
The toggl web UI defaults continue to creating a new entry, which is why
the toggl-cli continue operation does not seem intuitive to me. The web
UI has the following settings under My Profile;
- Save start and stop times (a new entry is created each time)
[Default]- Save duration only (continues on top of the existing time entry)
Setting this option to Save duration only causes the web UI to perform
the continue similar to toggl-cli's continue.Would you accept a PR where an option similar to the settings above is
included in .togglrc (defaulting to your continue expectation if
required) so that a user can control whether toggl-cli creates a new entry
or not?—
Reply to this email directly or view it on GitHub
#39 (comment)
.Dr. Robert Adams
School of Computing and Information Systems
Grand Valley State University
from toggl-cli.
Related Issues (20)
- CLI should not show entry is running when time entry has stop == start HOT 3
- sum command doesn't respect configured timezone HOT 1
- Option to set task? HOT 4
- Rework CLI completion with new Click 8.0 release HOT 1
- Unable to find user for TimeEntry HOT 1
- Add `--colors=always` option for passing to `click` HOT 2
- Authentication fail on "ls" command -- but works for other commands
- How do I find entries without project? HOT 1
- Install completion to $ZDOTDIR/.zshrc HOT 4
- toggl projects add -n "asd asd" --color 123 HOT 3
- Flag to quickly do `toggl stop -p $TIME; toggl start -s $TIME ...` HOT 3
- API v8 is being deprecated and shut down by toggle HOT 12
- [Feature request] rewrite in javascript HOT 1
- Add `num-entries` option to `ls` HOT 3
- Print entry description on `toggl start`
- Feature Request: Summed Worklogs Grouped by Description HOT 5
- Python 3.12 Support HOT 3
- Add `TogglServerValidationException` for 400 code errors
- Toggl sessions
- Error: argument of type 'function' is not iterable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toggl-cli.