EmilyGraceSeville7cf 550a076fa3 feat(completion) support batsh command
(cherry picked from commit 1bda6043c8cccc1d76f702f0fd2107b2fef002af)
2025-01-02 09:16:26 +08:00

13 lines
301 B
Fish

set -l command batsh
complete -c $command -f
complete -c $command -s h -l help \
-a 'pager\tdefault plain groff' \
-d 'Show help'
complete -c $command -s v -l version -d 'Show version'
complete -c $command \
-a 'bash\t"Compile to Bash" batsh\t"Format file" winbat\t"Compile to Batch"'