add completion for mycli

Closes #10309
This commit is contained in:
QianChenglong 2024-02-18 16:50:40 +08:00 committed by Johannes Altmanninger
parent 90b9bce174
commit b3c610feff

View 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)'