fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian BoehmYet more shortening00e0d6ad9

master
7.6 KiB91 linesraw
1complete -c zef -f
2complete -c zef -n __fish_is_first_token -s h -l help -f -d 'Display help text'
3complete -c zef -n __fish_is_first_token -l version -f -d 'Detailed version information'
4complete -c zef -n 'not __fish_is_first_token' -l config-path -r -F -d 'Load a specific Zef config file'
5complete -c zef -n 'not __fish_is_first_token' -l error -d 'Verbosity level'
6complete -c zef -n 'not __fish_is_first_token' -l warn -d 'Verbosity level'
7complete -c zef -n 'not __fish_is_first_token' -l info -d 'Verbosity level (default)'
8complete -c zef -n 'not __fish_is_first_token' -s v -l verbose -d 'Verbosity level'
9complete -c zef -n 'not __fish_is_first_token' -l debug -d 'Verbosity level'
10
11# Commands
12complete -c zef -n __fish_use_subcommand -a install -d 'Install specific distributions by name or path'
13complete -c zef -n __fish_use_subcommand -a uninstall -f -d 'Uninstall specific distributions'
14complete -c zef -n __fish_use_subcommand -a test -d 'Run tests on a given module\'s path'
15complete -c zef -n __fish_use_subcommand -a fetch -d 'Fetch and extract module\'s source'
16complete -c zef -n __fish_use_subcommand -a build -d 'Run the Build.pm in a given module\'s path'
17complete -c zef -n __fish_use_subcommand -a look -x -d 'Download a single module and change into its directory'
18complete -c zef -n __fish_use_subcommand -a update -d 'Update package indexes for repositories'
19complete -c zef -n __fish_use_subcommand -a upgrade -d 'Upgrade specific distributions (or all if no arguments)'
20complete -c zef -n __fish_use_subcommand -a search -d 'Show a list of possible distribution candidates for the given terms'
21complete -c zef -n __fish_use_subcommand -a info -d 'Show detailed distribution information'
22complete -c zef -n __fish_use_subcommand -a browse -d 'Browse support urls (bugtracker etc)'
23complete -c zef -n __fish_use_subcommand -a list -d 'List available distributions'
24complete -c zef -n __fish_use_subcommand -a depends -d 'List full dependencies for a given identity'
25complete -c zef -n __fish_use_subcommand -a rdepends -d 'List all distributions directly depending on a given identity'
26complete -c zef -n __fish_use_subcommand -a locate -d 'Lookup installed module information by short-name, name-path, sha1'
27complete -c zef -n __fish_use_subcommand -a smoke -d 'Run smoke testing on available modules'
28complete -c zef -n __fish_use_subcommand -a nuke -d 'Delete directory/prefix containing matching configuration path or CURLI name'
29
30# Shared options
31complete -c zef -n '__fish_seen_subcommand_from install test build' -k -a '(__fish_complete_suffix)'
32complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l fetch
33complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l build
34complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l /build -d 'Skip the building phase'
35complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l test
36complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l /test -d 'Skip the testing phase'
37complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke depends rdepends' -l depends
38complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke depends rdepends' -l /depends -d 'Do not fetch runtime dependencies'
39complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke depends rdepends' -l build-depends
40complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke depends rdepends' -l /build-depends -d 'Do not fetch build dependencies'
41complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke depends rdepends' -l test-depends
42complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke depends rdepends' -l /test-depends -d 'Do not fetch test dependencies'
43complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke test fetch build' -l force -d 'Ignore errors'
44complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l force-resolve -d 'Ignore errors'
45complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke fetch' -l force-fetch -d 'Ignore errors'
46complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l force-extract -d 'Ignore errors'
47complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke build' -l force-build -d 'Ignore errors'
48complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke test' -l force-test -d 'Ignore errors'
49complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l force-install -d 'Ignore errors'
50complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke test fetch build' -x -l timeout -d 'Set a timeout (in seconds)'
51complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke fetch' -x -l fetch-timeout -d 'Set a timeout (in seconds)'
52complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -x -l extract-timeout -d 'Set a timeout (in seconds)'
53complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke build' -x -l build-timeout -d 'Set a timeout (in seconds)'
54complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke test' -x -l test-timeout -d 'Set a timeout (in seconds)'
55complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -x -l install-timeout -d 'Set a timeout (in seconds)'
56complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke test fetch' -x -l degree -d 'Number of simultaneous jobs to process'
57complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke fetch' -x -l fetch-degree -d 'Number of simultaneous jobs to process'
58complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke test' -x -l test-degree -d 'Number of simultaneous jobs to process'
59complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l dry -d 'Run all phases except the actual installations'
60complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l serial -d 'Install each dependency after passing testing and before building/testing the next dependency'
61complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke fetch search info list' -l update -d 'Force a refresh for all module indexes or a specific ecosystem'
62complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke fetch search info list' -l /update -d 'Skip refreshing all module indexes or a specific ecosystem'
63complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l exclude
64complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l to -r -F -d 'Short name or spec of CompUnit::Repository to install to'
65complete -c zef -n '__fish_seen_subcommand_from install upgrade smoke' -l install-to -r -F -d 'Short name or spec of CompUnit::Repository to install to'
66
67# Install
68complete -c zef -n '__fish_seen_subcommand_from install' -l upgrade
69complete -c zef -n '__fish_seen_subcommand_from install' -l deps-only -d 'Install only the dependency chains of the requested distributions'
70complete -c zef -n '__fish_seen_subcommand_from install' -l contained -d 'Install dependencies regardless if they are already installed globally'
71
72# Uninstall
73complete -c zef -n '__fish_seen_subcommand_from uninstall' -l from
74complete -c zef -n '__fish_seen_subcommand_from uninstall' -l uninstall-from
75
76# Search, Info
77complete -c zef -n '__fish_seen_subcommand_from search info' -x -l wrap
78
79# Browse
80complete -c zef -n '__fish_seen_subcommand_from browse' -l open
81complete -c zef -n '__fish_seen_subcommand_from browse' -l /open
82
83# List
84complete -c zef -n '__fish_seen_subcommand_from list' -x -l max
85complete -c zef -n '__fish_seen_subcommand_from list' -s i -l installed
86
87# Locate
88complete -c zef -n '__fish_seen_subcommand_from locate' -l sha1
89
90# Nuke
91complete -c zef -n '__fish_seen_subcommand_from locate' -l confirm