summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorEmre Deger <ben@emre.dev>2023-12-15 07:23:28 +0300
committerEmre Deger <ben@emre.dev>2023-12-15 07:29:48 +0300
commit79e04fad9a30e3068d2658f897213e55dc4631ec (patch)
tree9260e6a4e6761c95a111893f1b970cb15d30495f /pkg/config
parent6778bc04a39b83ba7f10580e3e4fecfa4c0173bb (diff)
fix(config): add yaml struct tag to `CustomCommandPrompt.[]Options`
add `yaml` struct tag for fixing uppercase issue on json schema
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/user_config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 70b81acca..3d772e778 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -557,7 +557,7 @@ type CustomCommandPrompt struct {
// Menu options.
// Only for menu prompts.
- Options []CustomCommandMenuOption
+ Options []CustomCommandMenuOption `yaml:"options"`
// The command to run to generate menu options
// Only for menuFromCommand prompts.