Skip to content

Commit

Permalink
Merge remote-tracking branch 'pr3083/open-improvements' into merge-prs
Browse files Browse the repository at this point in the history
- Closes #3083
  • Loading branch information
techalchemy committed Oct 30, 2018
2 parents 6d2aafa + 99dd66c commit d4daf91
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 d4daf91

Please sign in to comment.