INNER CODE UNIT · Python
get_workflow
flyteorg/flytekit · flytekit/clis/flyte_cli/main.py:832
def get_workflow(urn, host, insecure):
"""
Get the details of a certain version of a workflow identified by the URN in the form of
``wf:<project>:<domain>:<workflow_name>:<version>``
"""
_welcome_message()
client = _get_client(host, insecure)
click.echo(client.get_workflow(cli_identifiers.Identifier.from_python_std(urn)))
# TODO: Print workflow pretty
click.echo("")
########################################################################################################################
#
# Launch Plan Commands
#
########################################################################################################################