From 99dd66c55683dc07232d51a9b1fd78f10678b81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dra=C5=BEen=20Lu=C4=8Danin?= Date: Tue, 23 Oct 2018 10:07:17 +0200 Subject: [PATCH] pipenv open custom command help --- pipenv/cli/command.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pipenv/cli/command.py b/pipenv/cli/command.py index 1ce9fee944..af1282b0a1 100644 --- a/pipenv/cli/command.py +++ b/pipenv/cli/command.py @@ -533,7 +533,13 @@ def graph(bare=False, json=False, json_tree=False, reverse=False): @argument("module", nargs=1) @pass_state def run_open(state, module, *args, **kwargs): - """View a given module in your editor.""" + """View a given module in your editor. + + This uses the EDITOR environment variable. You can temporarily override it, + for example: + + EDITOR=atom pipenv open requests + """ from ..core import which, ensure_project # Ensure that virtualenv is available.