Skip to content

noorm sql repl ​

Open the TUI directly on the SQL terminal, against the active config or the one you name.

bash
noorm sql repl --config dev

The terminal opens with the query box focused. Enter runs the query and Esc backs out. The TUI page lists the keys, and the SQL terminal guide covers history, result browsing, and cancel.

Flags ​

FlagEffect
--config <name>, -c <name>Make this config the active one, then launch. The switch is saved, so it outlasts the session
--yes, -yAccepted only to refuse: see below

Where does it refuse to run? ​

A REPL is interactive, so --yes and NOORM_YES cannot make it run unattended.

ConditionBehavior
--yes, -y, or NOORM_YES=1Error: noorm sql repl is interactive only. with noorm sql query "SELECT 1" and noorm sql query --file query.sql as the headless routes. Exit 2
No terminal on stdinError: noorm sql repl requires an interactive terminal., exit 2
--config names a config that does not existError: Config not found: <name>, exit 2
State cannot be decryptedError: <message>, exit 1

Use noorm sql query for one-shot SQL in scripts and CI. History from the terminal is what noorm sql history reads.

Next ​