diff options
author | Elwardi <elwardifadeli@gmail.com> | 2021-07-17 18:02:11 +0100 |
---|---|---|
committer | Elwardi <elwardifadeli@gmail.com> | 2021-07-18 10:36:00 +0100 |
commit | d18c8c8dc39fa028949470064dc9a596762f7f09 (patch) | |
tree | 346839e2cf210e1e06d89d71718ba9fa64b38515 /pkg/config | |
parent | 1573a449f84846657b7ac9e07756caa9db548b0e (diff) |
Add prompt type: menuFromCommand
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 4855bf816..0f0e50fab 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -280,6 +280,10 @@ type CustomCommandPrompt struct { // this only applies to menus Options []CustomCommandMenuOption + + // this only applies to menuFromCommand + Command string `yaml:"command"` + Filter string `yaml:"filter"` } type CustomCommandMenuOption struct { |