This machine's config — the workspace registry and credential profiles. Never part of the served repos.

Workspace repos

{% if not workspace_mode %}
{{ serve_label.rstrip("/").split("/")[-1] }} {{ serve_label }} serving
{% endif %} {% for r in repo_rows %}
{{ r.name }} {{ r.url or r.path }}{% if r.branch %} · {{ r.branch }}{% endif %} {% if r.served %} {{ r.dashboards }} dashboard{{ "s" if r.dashboards != 1 }} {% else %} registered {% endif %}
{% endfor %}
{% if not workspace_mode %}

{% if repo_rows %}Registered repos serve together when you run sqldash serve with no target.{% else %}Register more repos and sqldash serve with no target serves them all at once.{% endif %}

{% endif %}
❯

Credential profiles

Read-only — profiles hold credentials, so they're edited in the file ({{ profiles_path }}), never the browser.

{% if not profile_rows %}
No served source references a profile.
{% endif %} {% for p in profile_rows %}
{{ "✓" if p.defined else "✕" }} {{ p.profile }} {{ "defined on this machine" if p.defined else "not defined on this machine" }} · used by {{ p.referenced_by | join(", ") }}
{% if not p.defined %}
# add to {{ profiles_path }}
{{ p.profile }}:
  username: you@example.com
  authentication: externalbrowser   # or password: / token:
{% endif %} {% endfor %}