|
| 1 | +#compdef git-gets |
| 2 | + |
| 3 | +_arguments -s -S -A "-*" \ |
| 4 | + '(*)'{-V,--version}'[Show git-gets version]' \ |
| 5 | + '(*)'{-h,--help}'[Show documentation]' \ |
| 6 | + '(-v --verbose)'{-v,--verbose}'[Show intermediate steps]' \ |
| 7 | + '(-q --quiet)'{-q,--quiet}'[Hide every intermediate information but errors]' \ |
| 8 | + '(--color --colour)'{--color=,--colour=}'[Display steps in color]:when:(never always auto)' \ |
| 9 | + '(-s --ssh -H --https)'{-s,--ssh}'[Enforce SSH protocol]' \ |
| 10 | + '(-H --https -s --ssh)'{-H,--https}'[Enforce HTTPS protocol]' \ |
| 11 | + '--no-recursive[Only top-level submodules]' \ |
| 12 | + '(-o --output)'{-o+,--output=}'[Put the download file or directory here]:directory:_files' \ |
| 13 | + '(-F --rm-rf)'{-F,--rm-rf}'[Override an existing folder]' \ |
| 14 | + '(-g --preserve-git -t --tag-file)-x[Preserve and enhance the .git directory]' \ |
| 15 | + '(-B --single-branch)'{-B,--single-branch}'[Cleanup unnecessary branches]' \ |
| 16 | + '(-T --no-tags)'{-T,--no-tags}'[Cleanup all tags]' \ |
| 17 | + '(-g --preserve-git -x -t --tag-file)'{-g,--preserve-git}'[Preserve the .git directory]' \ |
| 18 | + '(-t --tag-file)'{-t+,--tag-file=}'[Generate a tag file (default=VERSION)]:file:_files' \ |
| 19 | + '(-P --parallel)'{-P,--parallel}'[Launch multiple instances of git-clone]' \ |
| 20 | + '(-c --confirm)'{-c,--confirm}'[Prompt the user before downloading]' \ |
| 21 | + '--no-init[Only download already inited top-level submodules]' |
0 commit comments