Skip to content

Commit e61b0a7

Browse files
committed
support loading iredisrc config path from env.
close #499
1 parent 27be126 commit e61b0a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iredis/entry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def repl(client, session, start_time):
265265
@click.option(
266266
"--iredisrc",
267267
default="~/.iredisrc",
268+
envvar="IREDIS_CONFIG",
268269
help="Config file for iredis, default is ~/.iredisrc.",
269270
)
270271
@click.option("--decode", default=None, help=DECODE_HELP)

0 commit comments

Comments
 (0)