Yerbacon/scripts/completions/fish-completion.fish

7 lines
414 B
Fish
Raw Normal View History

set -l commands --version -h --help --target= -p --printresult
2021-02-26 20:47:30 +01:00
complete -c ybcon -f -a "(__fish_complete_suffix .ybcon)"
complete -c ybcon -x -s h -l help -d "Print the help screen"
complete -c ybcon -x -l version -d "Print the version"
complete -c ybcon -l target -k -f -a 'lua js py' -d "Set the transpilation target"
complete -c ybcon -s p -l printresult -d "Enable printing the transpilation result to stdout"