summaryrefslogtreecommitdiffstats
path: root/tests/liteclirc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 10:18:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 10:18:47 +0000
commitf969bdef4f3403e22b0a7bf84d0d4e86c2428a77 (patch)
treec7ee1703b3aec5e43412c64fee1fea665c6b3086 /tests/liteclirc
parentReleasing debian version 1.9.0-3. (diff)
downloadlitecli-f969bdef4f3403e22b0a7bf84d0d4e86c2428a77.tar.xz
litecli-f969bdef4f3403e22b0a7bf84d0d4e86c2428a77.zip
Merging upstream version 1.10.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/liteclirc')
-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')"