add --list-versions help

This commit is contained in:
Ondrej Samohel 2021-07-07 12:12:11 +02:00 committed by Ondřej Samohel
parent bbd6e1f24e
commit 11da3d0d4d
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -15,6 +15,9 @@ from .pype_commands import PypeCommands
expose_value=False, help="use specified version")
@click.option("--use-staging", is_flag=True,
expose_value=False, help="use staging variants")
@click.option("--list-versions", is_flag=True, expose_value=False,
help=("list all detected versions. Use With `--use-staging "
"to list staging versions."))
def main(ctx):
"""Pype is main command serving as entry point to pipeline system.