aboutsummaryrefslogtreecommitdiffstats
path: root/types.go
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-06-09 23:26:15 +0000
committerterminaldweller <devi@terminaldweller.com>2024-06-09 23:26:15 +0000
commit5f5ea88cf8a0d147c7ff1cc9332ebd1430ca78e8 (patch)
tree8be77fbf54a19a1b8116f534ee243473c3b23259 /types.go
parentupdated the example lua script in the readme (diff)
downloadmilla-5f5ea88cf8a0d147c7ff1cc9332ebd1430ca78e8.tar.gz
milla-5f5ea88cf8a0d147c7ff1cc9332ebd1430ca78e8.zip
fixes #33
Diffstat (limited to 'types.go')
-rw-r--r--types.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/types.go b/types.go
index 3b7f3ff..98738bd 100644
--- a/types.go
+++ b/types.go
@@ -17,9 +17,10 @@ type LogModel struct {
}
type CustomCommand struct {
- SQL string `toml:"sql"`
- Limit int `toml:"limit"`
- Prompt string `toml:"prompt"`
+ SQL string `toml:"sql"`
+ Limit int `toml:"limit"`
+ Context []string `toml:"context"`
+ Prompt string `toml:"prompt"`
}
type LuaLstates struct {