9f5b28ea11
Fix: Do not call exit(), but propagate error
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-10 01:53:09 +01:00
fe1885c8a9
Transform imag-calendar to not call exit() but propagate errors to main()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-27 11:29:47 +01:00
ee739e17fc
Fix indention
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-27 10:52:18 +01:00
Leon Schuermann
26b05b4bb9
imag-calendar: implement ImagApplication & add CLI completion
...
Signed-off-by: Leon Schuermann <leon@is.currently.online>
2019-10-26 14:41:48 +02:00
f1ec71431e
Implement show subcommand
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
d40bf2956f
Make helper type derive Debug
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
d201797b98
Add argument to only list events after a certain date
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
d9ac0c0b07
Add argument to only list events before a certain date
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
9801a3c295
Add helper function to parse string with kairos
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
81c6ee8314
Rewrite helper to be less complicated
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
3da1d9e1d9
Refactor to use new helper function
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:44 +02:00
92a0713ed0
Add filtering for past events
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:43 +02:00
14dc03f40f
Enhance listing functionality with handlebars templating
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:26 +02:00
8dbb2f1590
Add basic listing functionality
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:08 +02:00
61f71d67cc
Add example ref configuration for calendar
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:08 +02:00
2e6df0e458
Add imag-calendar
...
This patch adds a imag-calendar command which features only a "import"
command by now.
This can be used to import calendar entries (events) to imag.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11 21:36:08 +02:00