-
Notifications
You must be signed in to change notification settings - Fork 68
Description
I was hoping I could mimic the 'today' view to get access to my reminders from CLI, but having a quick look through the help, i'm not sure if this is possible currently.
I tried show-lists, but it only shows the actual underlying reminder lists (not the meta categories for 'Today', 'Scheduled', 'All', 'Flagged', 'Completed')
Since show requires me to pass a <list-name>, that wouldn't let me mimic the 'Today' view, as it gets from all my lists.
I tried show-all --due-date today, but that only showed me a single reminder, presumably with the due date set to exactly todays date; whereas I currently have 130 reminders in the 'Today' view.
Potential Solutions
I haven't thought too deeply about this yet, but off the top of my head, some potential solutions:
- add
--due-on-or-before-date/--due-after-dateor similar - add
--dueor--overdueor similar - add new commands/aliases/flags/similar to allow showing the 'meta categories':
Today: I don't think this exists currentlyScheduled: I don't think this exists currentlyAll: can be done with justshow-allFlagged: I don't think this exists currentlyCompleted: Can be down withshow-all --include-completed/show-all --only-completed
See Also
This might be tangentially related to:
And if the Reminders app counts these 'meta categories' as 'smart lists', then it may also be related to:
Additional Context
OVERVIEW: Interact with macOS Reminders from the command line
USAGE: reminders <subcommand>
OPTIONS:
-h, --help Show help information.
SUBCOMMANDS:
add Add a reminder to a list
complete Complete a reminder
uncomplete Uncomplete a reminder
delete Delete a reminder
edit Edit the text of a reminder
show Print the items on the given list
show-lists Print the name of lists to pass to other commands
new-list Create a new list
show-all Print all reminders
See 'reminders help <subcommand>' for detailed help.
OVERVIEW: Print the items on the given list
USAGE: reminders show <list-name> [--only-completed] [--include-completed] [--sort <sort>] [--sort-order <sort-order>] [--due-date <due-date>] [--format <format>]
ARGUMENTS:
<list-name> The list to print items from, see 'show-lists' for
names
OPTIONS:
--only-completed Show completed items only
--include-completed Include completed items in output
-s, --sort <sort> Show the reminders in a specific order, one of: none,
creation-date, due-date (default: none)
-o, --sort-order <sort-order>
How the sort order should be applied, one of:
ascending, descending (default: ascending)
-d, --due-date <due-date>
Show only reminders due on this date
-f, --format <format> format, either of 'plain' or 'json' (default: plain)
-h, --help Show help information.
OVERVIEW: Print all reminders
USAGE: reminders show-all [--only-completed] [--include-completed] [--due-date <due-date>] [--format <format>]
OPTIONS:
--only-completed Show completed items only
--include-completed Include completed items in output
-d, --due-date <due-date>
Show only reminders due on this date
-f, --format <format> format, either of 'plain' or 'json' (default: plain)
-h, --help Show help information.