def list_views():
    """
        List all registered views
    """
    echo_header("List of registered views")
    for view in current_app.appbuilder.baseviews:
        click.echo(
            "View:{0} | Route:{1} | Perms:{2}".format(
                view.__class__.__name__, view.route_base, view.base_permissions
            )
        )
def list_views ( ) : echo_header ( "List of registered views" ) for view in current_app . appbuilder . baseviews : click . echo ( "View:{0} | Route:{1} | Perms:{2}" . format ( view . __class__ . __name__ , view . route_base , view . base_permissions ) )
List all registered views