def dashboard(ctx, yes, url): """Open this operation's dashboard details in browser.""" owner, project_name, run_uuid = get_project_run_or_local( ctx.obj.get("project"), ctx.obj.get("run_uuid"), is_cli=True, ) subpath = "{}/{}/runs/{}".format(owner, project_name, run_uuid) get_dashboard( dashboard_url=get_dashboard_url(subpath=subpath), url_only=url, yes=yes )
def dashboard(yes, url): """Open dashboard in browser.""" get_dashboard(dashboard_url=get_dashboard_url(base="_admin"), url_only=url, yes=yes)