mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
commands help
This commit is contained in:
@@ -269,9 +269,13 @@ def which_python():
|
||||
@click.pass_context
|
||||
def cli(ctx, where=False, bare=False):
|
||||
if ctx.invoked_subcommand is None:
|
||||
# --where was passed...
|
||||
if where:
|
||||
do_where(bare=bare)
|
||||
|
||||
# Display help to user, if no commands were passed.
|
||||
click.echo(ctx.get_help())
|
||||
|
||||
|
||||
|
||||
@click.command(help="Installs a provided package and adds it to Pipfile, or (if none is given), installs all packages.")
|
||||
|
||||
Reference in New Issue
Block a user