Skip to content

Commit

Permalink
add completion for mycli
Browse files Browse the repository at this point in the history
Closes #10309
  • Loading branch information
QianChenglong authored and krobelus committed Mar 9, 2024
1 parent 90b9bce commit b3c610f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions share/completions/mycli.fish
@@ -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)'

0 comments on commit b3c610f

Please sign in to comment.