diff --git a/vdirsyncer/cli/__init__.py b/vdirsyncer/cli/__init__.py index ab195e8..6f2a854 100644 --- a/vdirsyncer/cli/__init__.py +++ b/vdirsyncer/cli/__init__.py @@ -212,11 +212,15 @@ def repair(collection): general, all_pairs, all_storages = ctx.obj['config'] repair_collection(general, all_pairs, all_storages, collection) +# Not sure if useful. I originally wanted it because: +# * my password manager has a timeout for caching the master password +# * when calling vdirsyncer in a cronjob, the master password prompt would +# randomly pop up +# So I planned on piping a FIFO to vdirsyncer, and writing to that FIFO from a +# cronjob. + try: import click_repl click_repl.register_repl(app) except ImportError: - @app.command() - def repl(): - click.echo('You need click-repl installed.') - ctx.exit(1) + pass