tamery --help for a summary, or tamery <command> --help for one command.
tamery login
Sign in. Opens the browser sign-in flow and saves the session locally. Times out after 5 minutes.boolean
Sign in even if already authenticated (switch accounts). Alias:
-f.boolean
Don’t open the browser; print the URL instead. Useful over SSH.
tamery logout
Sign out and clear the local session.tamery whoami
Show the signed-in user. PrintsNot signed in. if there’s no session; an expired session is cleared automatically.
tamery query
Run SQL against a saved connection. Provide SQL inline or via--file. Output is a formatted table, or JSON with --json.
Supports PostgreSQL, MySQL, MSSQL, and ClickHouse.
string
Connection ID or name. Required if you have more than one. Alias:
-c.string
Path to a
.sql file to run instead of inline SQL. Alias: -f.boolean
Output JSON instead of a table.
boolean
Print saved connections and exit.
Output includes execution time in milliseconds.