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

Using --default_reminders still prompts for reminders #653

Closed
pawliger opened this issue Jul 3, 2023 · 2 comments · Fixed by #760
Closed

Using --default_reminders still prompts for reminders #653

pawliger opened this issue Jul 3, 2023 · 2 comments · Fixed by #760
Labels
Milestone

Comments

@pawliger
Copy link

pawliger commented Jul 3, 2023

I would like to use gcalcli with no interaction. When I try to create an event like this:

gcalcli add --calendar TestCalendar --title "Test Title" --when "07-Jul-2023 13:00" --duration "60" --where "Test Location" --description "Test Description" --default-reminders

I still get prompted

Enter a valid reminder or "." to end: .

Am I misunderstanding the use of --default-reminders? How can I create an event using default reminders and not get prompted?

This is with gcalcli v4.3.0 installed via brew on macOS 13.4.1 (22F2083)

@elig0n
Copy link
Contributor

elig0n commented Dec 4, 2023

you can use --noprompt

@dbarnett dbarnett added this to the 4.5 milestone Aug 25, 2024
@dbarnett
Copy link
Collaborator

I agree this is confusing... --default-reminders is kind of a weird option, the way it's intertwined with the behavior of other --reminders, but I'm half convinced it shouldn't prompt in that case, the same way if you specified a --reminders arg you could argue that it should still prompt for additional reminders, but it doesn't.

Using --noprompt would work, but I'm also considering to update it to the behavior you were expecting, to not prompt in that case. Either way, I'm planning to update it with some more self-explanatory hints along the way about what it's doing and why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants