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

How to modify this workflow to make default due date today? #24

Open
nikhilmaddirala opened this issue Jul 19, 2024 · 1 comment
Open

Comments

@nikhilmaddirala
Copy link

nikhilmaddirala commented Jul 19, 2024

What's the simplest way to modify this workflow as follows: IF user specifies a due date then follow existing behavior; ELSE set due date to today.

I could accomplish this by modifying the parseNewTask function in alfredo_ops.py but I'm wondering if there's some simpler way to do this directly in Alfred?

Thanks in advance for any suggestions! 😊

@nikhilmaddirala
Copy link
Author

For now I decided to go with this temporary workaround of modifying the script for Create new task:

Old script: python3 alfredo_ops.py "parse" "$1"

New script: python3 alfredo_ops.py "parse" "$1 due:0d"

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

No branches or pull requests

1 participant