@notebook.command()<EOL>@click.pass_context<EOL>@clean_outputs<EOL>def url(ctx):
user, project_name = get_project_or_local(ctx.obj.get('<STR_LIT>'))<EOL>try:<EOL><INDENT>response = PolyaxonClient().project.get_project(user, project_name)<EOL><DEDENT>except (PolyaxonHTTPError, PolyaxonShouldExitError, PolyaxonClientException) as e:<EOL><INDENT>Printer.print_error('<STR_LIT>'.format(project_name))<EOL>Printer.print_error('<STR_LIT>'.format(e))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>if response.has_notebook:<EOL><INDENT>click.echo(get_notebook_url(user, project_name))<EOL><DEDENT>else:<EOL><INDENT>Printer.print_warning(<EOL>'<STR_LIT>'.format(project_name))<EOL>click.echo('<STR_LIT>')<EOL><DEDENT>
Prints the notebook url for this project.

    Uses [Caching](/references/polyaxon-cli/#caching)

    Example:

    \b
    ```bash
    $ polyaxon notebook url
    ```