add completion for mycli
Closes #10309 (cherry picked from commit b3c610feff681c3a829cfa8c5a201d110e7193d4)
This commit is contained in:
parent
c6f3b24dc5
commit
b864074288
8
share/completions/mycli.fish
Normal file
8
share/completions/mycli.fish
Normal file
@ -0,0 +1,8 @@
|
||||
# fish completion for mycli -*- shell-script -*-
|
||||
|
||||
function __fish_mycli_dsn
|
||||
mycli --list-dsn
|
||||
end
|
||||
|
||||
complete -c mycli -s d -l dsn -x -d 'Use DSN configured into the [alias_dsn]' -a '(__fish_mycli_dsn)'
|
||||
complete -c mycli -a '(__fish_mycli_dsn)'
|
Loading…
x
Reference in New Issue
Block a user