Skip to content

Commit

Permalink
Merge pull request #2571 from pypa/revert-2542-master
Browse files Browse the repository at this point in the history
Revert "Add docstrings to show short_help when running --help"
  • Loading branch information
erinxocon committed Jul 12, 2018
2 parents af4ba9e + 05b3581 commit 6cfe5fb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pipenv/cli.py
Expand Up @@ -394,7 +394,6 @@ def install(
keep_outdated=False,
selective_upgrade=False,
):
"""Installs provided packages and adds them to Pipfile, or (if none is given), installs all packages."""
from .core import do_install

do_install(
Expand Down Expand Up @@ -483,7 +482,6 @@ def uninstall(
keep_outdated=False,
pypi_mirror=None,
):
"""Un-installs a provided package and removes it from Pipfile."""
from .core import do_uninstall

do_uninstall(
Expand Down Expand Up @@ -563,7 +561,6 @@ def lock(
pre=False,
keep_outdated=False,
):
"""Generates Pipfile.lock."""
from .core import ensure_project, do_init, do_lock

# Ensure that virtualenv is available.
Expand Down Expand Up @@ -624,7 +621,6 @@ def shell(
anyway=False,
pypi_mirror=None,
):
"""Spawns a shell within the virtualenv."""
from .core import load_dot_env, do_shell

# Prevent user from activating nested environments.
Expand Down Expand Up @@ -687,7 +683,6 @@ def shell(
help="Specify a PyPI mirror.",
)
def run(command, args, three=None, python=False, pypi_mirror=None):
"""Spawns a command installed into the virtualenv."""
from .core import do_run

do_run(
Expand Down Expand Up @@ -743,7 +738,6 @@ def check(
args=None,
pypi_mirror=None,
):
"""Checks for security vulnerabilities and against PEP 508 markers provided in Pipfile."""
from .core import do_check

do_check(
Expand Down Expand Up @@ -833,7 +827,6 @@ def update(
outdated=False,
more_packages=None,
):
"""Runs lock, then sync."""
from .core import (
ensure_project,
do_outdated,
Expand Down Expand Up @@ -898,7 +891,6 @@ def update(
@option("--json-tree", is_flag=True, default=False, help="Output JSON in nested tree.")
@option("--reverse", is_flag=True, default=False, help="Reversed dependency graph.")
def graph(bare=False, json=False, json_tree=False, reverse=False):
"""Displays currently-installed dependency graph information."""
from .core import do_graph

do_graph(bare=bare, json=json, json_tree=json_tree, reverse=reverse)
Expand Down Expand Up @@ -927,7 +919,6 @@ def graph(bare=False, json=False, json_tree=False, reverse=False):
)
@argument("module", nargs=1)
def run_open(module, three=None, python=None, pypi_mirror=None):
"""View a given module in your editor."""
from .core import which, ensure_project

# Ensure that virtualenv is available.
Expand Down Expand Up @@ -1009,7 +1000,6 @@ def sync(
sequential=False,
pypi_mirror=None,
):
"""Installs all packages specified in Pipfile.lock."""
from .core import do_sync

do_sync(
Expand Down Expand Up @@ -1055,7 +1045,6 @@ def sync(
def clean(
ctx, three=None, python=None, dry_run=False, bare=False, user=False, verbose=False
):
"""Uninstalls all packages not specified in Pipfile.lock."""
from .core import do_clean

do_clean(ctx=ctx, three=three, python=python, dry_run=dry_run, verbose=verbose)
Expand Down

0 comments on commit 6cfe5fb

Please sign in to comment.