-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
37 lines (21 loc) · 1003 Bytes
/
README
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
37
# ics2task
A CLI tool to import ICS (RFC5455) event into task in TaskWarrior
Considering that an event (Meeting, Todo, Call, etc...) is nothing more than a todo task with a set date, it makes perfect sense to be able to import them into TaskWarrior.
By default the tasks imported are imported in the ics2task project.
Once imported, running `task calendar` will give you your agenda.
## Requires
This module requires two other python modules :
* icalendar (to parse RFC5455 compliant data)
* taskw (python bindings for TaksWarrior)
It works both on python2 and python3.
## Install
This module is available on pip :
#> pip install ics2task
## Example
`ics2task` can either take a file or an input stream
#> ics2task /path/to/ics/file.ics
#> task project:ics2task
or
#> cat /path/to/ics/file.ics | ics2task
#> task project:ics2task
It becomes really handy in use with mutt where one could add a macro that would pipe and attached ics file into `ics2task` directly.