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

Consider supporting [this|next|last] ... syntax (i.e., multiple modifiers) #23

Open
lmcmicu opened this issue Mar 19, 2024 · 0 comments

Comments

@lmcmicu
Copy link
Owner

lmcmicu commented Mar 19, 2024

It was decided that #21 isn't useful enough as compared to the potential confusion it might cause due to the complication of viewcal's syntax. But something like:

viewcal next next today

(show the events for two days from now),

viewcal last last week

(show the events for the week before last),

and so on, while more verbose, does basically the same thing and fits more naturally with the current syntax.

This seems like it should be easily implementable by using the nargs argument to ArgumentParser's add_argument() method.

@lmcmicu lmcmicu self-assigned this Mar 19, 2024
@lmcmicu lmcmicu added v2 and removed v2 labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant