7 lines
414 B
Fish
7 lines
414 B
Fish
set -l commands --version -h --help --target= -p --printresult
|
|
|
|
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" |