Open vipetrul opened 7 years ago
Are there any other patterns how user interaction is handled in console apps? Just trying to generate more ideas :)
Well @dstj might have more feedback, he's the one who actually uses this the most. I personally am a big fan of VIM, but in the end the sole goal is to look at the work logs and synchronize them.
Another thing I wanted (but won't) do, was being able to run the tool is "display only" and "auto-accept". As an example:
jira-toggl-sync --print
jira-toggl-sync -y
That's another feature, but would be an alternative for Y
and N
.
@christianrondeau , could you expand on your proposal? Currently if config values are established, user doesn't have to provide any additional input to run the application. @dstj , do you have any thoughts?
Suggestion by @christianrondeau :
Show all entries at once
Enter sends entries (probably with a confirmation) That would be something using e.g. ncurses (https://github.com/sushihangover/CursesSharp).
But that's way out of this issue :) My point being that "y" and "enter" makes twice the keypresses...
The "negative" impact of pressing "y" is pretty minimal, so as long as it's clear, I think it's okay.