Skip to content

Commit

Permalink
pipenv open custom command help
Browse files Browse the repository at this point in the history
  • Loading branch information
metakermit committed Oct 23, 2018
1 parent 2e94ec3 commit 99dd66c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pipenv/cli/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 99dd66c

Please sign in to comment.