diff options
author | cos <cos> | 2021-05-25 21:49:07 +0200 |
---|---|---|
committer | Martin Samuelsson <storvix.eu@tyfri.netizen.se> | 2021-05-25 21:58:58 +0200 |
commit | 12458e6172e9a8b59fcbddc042c22ce1ec97b692 (patch) | |
tree | 679aa2e5c606edfc9d8d750cfc441bdc72f2ffd4 | |
parent | cae15ba7f56fe9d7af2bcf005c5d287d2fc57f6e (diff) | |
download | calendar-cli-cr/improve_interactive_config.zip |
Add calendar_url and doc tip to interactive-configcr/improve_interactive_config
Asking about calendar_url makes it easier to realize the correct format
of caldav_url. Suggesting to read the documentation might help the more
eager-to-get-started-souls (like e.g. me) to do it earlier.
-rwxr-xr-x | calendar-cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar-cli.py b/calendar-cli.py index 76120a8..6afd3ef 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -238,6 +238,7 @@ def interactive_config(args, config, remaining_argv): print("Welcome to the interactive calendar configuration mode") print("Warning - untested code ahead, raise issues at t-calendar-cli@tobixen.no or the github issue tracker") + print("It might be a good idea to read the documentation in parallel if running this for your first time") if not config or not hasattr(config, 'keys'): config = {} print("No valid existing configuration found") @@ -259,7 +260,7 @@ def interactive_config(args, config, remaining_argv): if not section in config: config[section] = {} - for config_key in ('caldav_url', 'caldav_user', 'caldav_pass', 'caldav_proxy', 'ssl_verify_cert', 'language', 'timezone', 'inherits'): + for config_key in ('caldav_url', 'calendar_url', 'caldav_user', 'caldav_pass', 'caldav_proxy', 'ssl_verify_cert', 'language', 'timezone', 'inherits'): if config_key == 'caldav_pass': print("Config option caldav_pass - old value: **HIDDEN**") |