File: cli.rst

package info (click to toggle)
python-icalendar 6.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,028 kB
  • sloc: python: 13,055; makefile: 173; sh: 59
file content (36 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
iCalendar utility
=================

To get more information about the command line interface, use the ``-h``
option::

    $ icalendar -h

view
----

To output a human readable summary of an event::

    $ icalendar myfile.ics

The output will look something like this::

    Organiser: Secretary <secretary@company.com>
    Attendees:
      John Doe <j.doe@company.com>
      Randy <boss@company.com>
    Summary: Yearly evaluation.
    When: Tue 14 Mar 2017 11:00-12:00
    Location: Randy's office
    Comment: Reminder.
    Description:

    Your yearly evaluation is scheduled for next Tuesday. Please be on time.

To use this in terminal based e-mail clients like mutt, add a new mime type (as
root)::

    # cat << EOF > /usr/lib/mime/packages/icalendar
    text/calendar; icalendar '%s'; copiousoutput; description=iCalendar text; priority=2
    EOF
    # update-mime