mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
47b0d0c293
Their names are not perfect, so let's keep them as internal functions,
until we figure out how/if we want to expose this.
This reverts 0445126c2
(Undunder __fish_is_nth_token, 2021-06-29) (but I
did it without "git revert").
Closes #8008
32 lines
2.5 KiB
Fish
32 lines
2.5 KiB
Fish
|
|
# Options
|
|
complete -c cygport -s 4 -l 32 -d "Build for 32-bit Cygwin"
|
|
complete -c cygport -s 8 -l 64 -d "Build for 64-bit Cygwin"
|
|
complete -c cygport -l debug -d "Enable debugging messages"
|
|
|
|
# Cygport file
|
|
complete -c cygport -n "__fish_is_nth_token 1" -f -a '*.cygport' -d "Cygport file"
|
|
|
|
# Commands
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'downloadall fetchall wgetall getall' -d "Download all sources"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'download fetch wget get' -d "Download missing sources"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'prep unpack' -d "Prepare source directory"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'compile build make' -d "Build software"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'check test' -d "Run test suite"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'inst install' -d "Install into DESTDIR and run post-installation steps"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a postinst -d "Run post-installation steps"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a list -d "List package files"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'listdebug listdbg' -d "List debug package files"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a dep -d "Show dependencies"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a info -d "Show packaging info"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'homepage web www' -d "Show project homepage URL"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'package-test pkg-test' -d "Create packages, marked as test"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'package pkg' -d "Create packages"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'diff mkdiff mkpatch' -d "Create source patches"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'upload up' -d "Upload finished packages"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a stage -d "Upload packages without marking !ready"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a announce -d "Send announcement email"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'clean finish' -d "Delete working directory"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a 'almostall all' -d "Same as prep build inst pkg"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a help -d "Show help"
|
|
complete -c cygport -n 'not __fish_is_nth_token 1' -f -a version -d "Show version"
|