code: def url(url: str, method: str):
      
      try:
          url_rule, params = (current_app.url_map.bind('localhost')
                              .match(url, method=method, return_rule=True))
      except (NotFound, MethodNotAllowed)\
              as e:
          click.secho(str(e), fg='white', bg='red')
      else:
          headings = ('Method(s)', 'Rule', 'Params', 'Endpoint', 'View', 'Options')
          print_table(headings,
                      [(_get_http_methods(url_rule),
                        url_rule.rule if url_rule.strict_slashes
                                      else url_rule.rule + '[/]',
                        _format_dict(params),
                        url_rule.endpoint,
                        _get_rule_view(url_rule),
                        _format_rule_options(url_rule))],
                      ['<' if i > 0 else '>' for i, col in enumerate(headings)],
                      primary_column_idx=1)
docs: Show details for a specific URL.