Commit f467423
cmd/tools/vsqlite: route dot commands from CLI args to dot_cmd (#26801)
When a dot command like '.tables' was passed as a CLI argument
(e.g. v sqlite mydb.db .tables), it was sent to app.run() which
only handles SQL, causing an exec_none error. Route any arg
starting with '.' to app.dot_cmd() instead.
Co-authored-by: Richard Wheeler <quaesitor.scientiam@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent da858a9 commit f467423
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
| |||
0 commit comments