@command(short_help='Installs all packages specified in Pipfile.lock.')
@option('--verbose', '-v', is_flag=True, default=False, help='Verbose mode.', callback=setup_verbose)
@option('--dev', '-d', is_flag=True, default=False, help='Additionally install package(s) in [dev-packages].')
@option('--three/--two', is_flag=True, default=None, help='Use Python 3/2 when creating virtualenv.')
@option('--python', default=False, nargs=1, callback=validate_python_path, help='Specify which version of Python virtualenv should use.')
@option('--pypi-mirror', default=PIPENV_PYPI_MIRROR, nargs=1, callback=validate_pypi_mirror, help='Specify a PyPI mirror.')
@option('--bare', is_flag=True, default=False, help='Minimal output.')
@option('--clear', is_flag=True, default=False, help='Clear the dependency cache.')
@option('--sequential', is_flag=True, default=False, help='Install dependencies one-at-a-time, instead of concurrently.')
@pass_context
def sync(ctx, dev=False, three=None, python=None, bare=False, dont_upgrade=False, user=False, verbose=False, clear=False, unused=False, package_name=None, sequential=False, pypi_mirror=None):
    from .core import do_sync
    do_sync(ctx=ctx, install=install, dev=dev, three=three, python=python, bare=bare, dont_upgrade=dont_upgrade, user=user, verbose=verbose, clear=clear, unused=unused, sequential=sequential, pypi_mirror=pypi_mirror)
@command(short_help='Installs all packages specified in Pipfile.lock.')
@option('--verbose', '-v', is_flag=True, default=False, help='Verbose mode.', callback=setup_verbose)
@option('--dev', '-d', is_flag=True, default=False, help='Additionally install package(s) in [dev-packages].')
@option('--three/--two', is_flag=True, default=None, help='Use Python 3/2 when creating virtualenv.')
@option('--python', default=False, nargs=1, callback=validate_python_path, help='Specify which version of Python virtualenv should use.')
@option('--pypi-mirror', default=PIPENV_PYPI_MIRROR, nargs=1, callback=validate_pypi_mirror, help='Specify a PyPI mirror.')
@option('--bare', is_flag=True, default=False, help='Minimal output.')
@option('--clear', is_flag=True, default=False, help='Clear the dependency cache.')
@option('--sequential', is_flag=True, default=False, help='Install dependencies one-at-a-time, instead of concurrently.')
@pass_context
def sync(ctx, dev=False, three=None, python=None, bare=False, dont_upgrade=False, user=False, verbose=False, clear=False, unused=False, package_name=None, sequential=False, pypi_mirror=None):
    from .core import do_sync
    do_sync(ctx=ctx, install=install, dev=dev, three=three, python=python, bare=bare, dont_upgrade=dont_upgrade, user=user, verbose=verbose, clear=clear, unused=unused, sequential=sequential, pypi_mirror=pypi_mirror)