Yerbacon/scripts/fish-completion.fish

7 lines
320 B
Fish

set -l commands --help -p --printresult
complete -c ybcon -f
complete -c ybcon -s h -l help -d "Print the help screen"
complete -c ybcon -l version -d "Print the version"
complete -c ybcon -s p -l printresult -d "Enable printing the transpilation result to stdout"
complete -c ybcon -a "(__fish_complete_suffix .ybcon)"