#compdef ybcon completeyfile='filename:_path_files -/ -g "*.ybcon"' _ybcon() { _arguments \ '( - 0)'{-h,--help}'[Print the help screen]' \ '( - 0)'--version'[Print the version]' \ '( - 0)'--buildInfo'[Print the compiler name and the optimization flags used to build the ybcon executable]' \ --parallel'[Transpile files in parallel mode]' \ --target='[Set the transpilation target]:language:(lua js py)' \ --newlines='[Enable or disable new lines]:state:(on off)' \ {-p,--printresult}'[Enable printing the transpilation result to stdout]' \ "*:$completeyfile" return 0 } _ybcon