calendar-assistant icon indicating copy to clipboard operation
calendar-assistant copied to clipboard

Command-Specific Preferences should specify profile

Open mikfreedman opened this issue 6 years ago • 0 comments

Consider the following example:

[settings.location_set]
visibility = "public"
calendars =["[email protected]","[email protected]"]

If you only have access to these calendars from a specific profile, when you change profiles an error is raised like so:

/bin/calendar-assistant location-set Turkmenistan 2/22 -p home
ERROR: Calendar for [email protected] not found

This error halts execution, and could potentially lead to putting calendars into a weird state.

If command specific preferences could also optionally specify profile this problem can be avoided.

mikfreedman avatar Feb 22 '19 01:02 mikfreedman