File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -515,6 +515,7 @@ A set of commands to create and manage addressbooks and calendars::
515515 dav
516516 dav:create-addressbook Create a dav addressbook
517517 dav:create-calendar Create a dav calendar
518+ dav:create-subscription Create a dav calendar subscription
518519 dav:delete-calendar Delete a dav calendar
519520 dav:fix-missing-caldav-changes Insert missing calendarchanges rows for existing events
520521 dav:list-calendars List all calendars of a user
@@ -536,6 +537,20 @@ This example creates a new calendar for molly::
536537
537538Molly will immediately see these in the Calendar and Contacts apps.
538539
540+ The syntax for ``dav:create-subscription `` is
541+ ``dav:create-subscription [user] [name] [url] [optional color] ``. This example creates the subscription subscription for the lunar
542+ calendar ``Lunar Calendar `` for the user molly::
543+
544+ sudo -u www-data php occ dav:create-subscription molly "Lunar Calendar" webcal://cantonbecker.com/astronomy-calendar/astrocal.ics
545+
546+ Molly will immediately see this new subscription calendar in the Calendar app.
547+
548+ Optionally, a color for the new subscription calendar can be passed as a HEX color code::
549+
550+ sudo -u www-data php occ dav:create-subscription molly "Lunar Calendar" calendar webcal://cantonbecker.com/astronomy-calendar/astrocal.ics "#ff5733"
551+
552+ If not set, the theming default color will be used.
553+
539554``dav:delete-calendar [--birthday] [-f|--force] <uid> [<name>] `` deletes the
540555calendar named ``name `` (or the birthday calendar if ``--birthday `` is
541556specified) of the user ``uid ``. You can use the force option ``-f `` or
You can’t perform that action at this time.
0 commit comments