From 3381f178a977baecefb96f8d46a95879008e4896 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 1ce9fee9..af1282b0 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.