zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
350 stars 352 forks source link

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

Open rht opened 3 years ago

rht commented 3 years ago

_Originally posted by @andersk in https://github.com/zulip/python-zulip-api/pull/663#discussion_r639105669_

This is the PR for zulip-cli: https://github.com/zulip/python-zulip-api/pull/663. We want to replace the hardcoded zuliprc path (currently ~/zuliprc) to use something along the line of https://github.com/zulip/python-zulip-api/blob/717a549f4b097b7d08470bb860f0346c30d4ecd8/zulip_bots/zulip_bots/run.py#L55. The mechanism in run.py needs to be abstracted out and provided by the core library.