mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
pipenv open custom command help
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user