diff options
author | Elwardi <elwardifadeli@gmail.com> | 2021-08-05 15:24:17 +0100 |
---|---|---|
committer | Elwardi <elwardifadeli@gmail.com> | 2021-08-05 15:45:18 +0100 |
commit | a8ec044f0e52bff8921592fb4d334a4d6f4c7468 (patch) | |
tree | 0f9dcdf7bb9b041c81f5c34e9fe97f5f9a92afb1 /pkg/config | |
parent | d626bcac0029267d3f45223198902f5cb78d9dc1 (diff) |
Make menuFromCommand format menu items and their description
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 38259f6f2..239a79acf 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -285,7 +285,8 @@ type CustomCommandPrompt struct { // this only applies to menuFromCommand Command string `yaml:"command"` Filter string `yaml:"filter"` - Format string `yaml:"format"` + TFormat string `yaml:"itemFormat"` + DFormat string `yaml:"descriptionFormat"` } type CustomCommandMenuOption struct { |