zulip/python-zulip-api

zulip-cli: Replace harcoded zuliprc path with the one used in zulip_bots/run.py

rht opened this issue · 0 comments

rht commented

Originally posted by @andersk in #663 (comment)

This is the PR for zulip-cli: #663.
We want to replace the hardcoded zuliprc path (currently ~/zuliprc) to use something along the line of

def exit_gracefully_if_zulip_config_is_missing(config_file: Optional[str]) -> None:
. The mechanism in run.py needs to be abstracted out and provided by the core library.