summaryrefslogtreecommitdiffstats
path: root/tests/liteclirc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 10:18:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 10:18:43 +0000
commit44ba8147bbb1b651867b4b04e1711273d4a7281c (patch)
treed8c169e12006bfa46e436a180fd531aaac08aad5 /tests/liteclirc
parentAdding upstream version 1.9.0. (diff)
downloadlitecli-44ba8147bbb1b651867b4b04e1711273d4a7281c.tar.xz
litecli-44ba8147bbb1b651867b4b04e1711273d4a7281c.zip
Adding upstream version 1.10.0.upstream/1.10.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/liteclirc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/liteclirc b/tests/liteclirc
index da9b061..21a3ef9 100644
--- a/tests/liteclirc
+++ b/tests/liteclirc
@@ -135,3 +135,10 @@ Token.Toolbar.Arg.Text = nobold
[favorite_queries]
q_param = select * from test where name=?
sh_param = select * from test where id=$1
+
+# Startup commands
+# litecli commands or sqlite commands to be executed on startup.
+# some of them will require you to have a database attached.
+# they will be executed in the same order as they appear in the list.
+[startup_commands]
+commands = "create table startupcommands(a text)", "insert into startupcommands values('abc')"