diff options
Diffstat (limited to '')
-rw-r--r-- | module/vcomponent/config.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/module/vcomponent/config.scm b/module/vcomponent/config.scm new file mode 100644 index 00000000..b2598207 --- /dev/null +++ b/module/vcomponent/config.scm @@ -0,0 +1,16 @@ +(define-module (vcomponent config) + :use-module (hnh util) + :use-module (calp translation) + :use-module (calp util config)) + +(define-config calendar-files '() + description: (_ "Which files to parse. Takes a list of paths or a single string which will be globbed.") + pre: (lambda (v) + (cond [(list? v) v] + [(string? v) ((@ (glob) glob) v)] + [else #f]))) + +(define-config default-calendar "" + description: (_ "Default calendar to use for operations. Set to empty string to unset") + pre: (ensure string?)) + |