fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a9618477e
master
1function __fish_travis_needs_command 2set -l cmd( commandline -xpc) 3if test ( count $cmd ) -eq 1 4return 0 5end 6return 1 7end 8 9# Commands 10complete -c travis -f -n __fish_travis_needs_command -a accounts -d"Displays accounts and their subscription status" 11complete -c travis -f -n __fish_travis_needs_command -a branches -d"Displays the most recent build for each branch" 12complete -c travis -f -n __fish_travis_needs_command -a cache -d"Lists or deletes repository caches" 13complete -c travis -f -n __fish_travis_needs_command -a cancel -d"Cancels a job or build" 14complete -c travis -f -n __fish_travis_needs_command -a console -d"Interactive shell" 15complete -c travis -f -n __fish_travis_needs_command -a disable -d"Disables a project" 16complete -c travis -f -n __fish_travis_needs_command -a enable -d"Enables a project" 17complete -c travis -f -n __fish_travis_needs_command -a encrypt -d"Encrypts values for the .travis.yml" 18complete -c travis -f -n __fish_travis_needs_command -a encrypt-file -d"Encrypts a file and adds decryption steps to .travis.yml" 19complete -c travis -f -n __fish_travis_needs_command -a endpoint -d"Displays or changes the API endpoint" 20complete -c travis -f -n __fish_travis_needs_command -a env -d"Show or modify build environment variables" 21complete -c travis -f -n __fish_travis_needs_command -a help -d"Helps you out when in dire need of information" 22complete -c travis -f -n __fish_travis_needs_command -a history -d"Displays a projects build history" 23complete -c travis -f -n __fish_travis_needs_command -a init -d"Generates a .travis.yml and enables the project" 24complete -c travis -f -n __fish_travis_needs_command -a lint -d"Display warnings for a .travis.yml" 25complete -c travis -f -n __fish_travis_needs_command -a login -d"Authenticates against the API and stores the token" 26complete -c travis -f -n __fish_travis_needs_command -a logout -d"Deletes the stored API token" 27complete -c travis -f -n __fish_travis_needs_command -a logs -d"Streams test logs" 28complete -c travis -f -n __fish_travis_needs_command -a monitor -d"Live monitor for what's going on" 29complete -c travis -f -n __fish_travis_needs_command -a open -d"Opens a build or job in the browser" 30complete -c travis -f -n __fish_travis_needs_command -a pubkey -d"Prints out a repository's public key" 31complete -c travis -f -n __fish_travis_needs_command -a raw -d"Makes an (authenticated) API call and prints out the result" 32complete -c travis -f -n __fish_travis_needs_command -a report -d"Generates a report useful for filing issues" 33complete -c travis -f -n __fish_travis_needs_command -a repos -d"Lists repositories the user has certain permissions on" 34complete -c travis -f -n __fish_travis_needs_command -a requests -d"Lists recent requests" 35complete -c travis -f -n __fish_travis_needs_command -a restart -d"Restarts a build or job" 36complete -c travis -f -n __fish_travis_needs_command -a settings -d"Access repository settings" 37complete -c travis -f -n __fish_travis_needs_command -a setup -d"Sets up an addon or deploy target" 38complete -c travis -f -n __fish_travis_needs_command -a show -d"Displays a build or job" 39complete -c travis -f -n __fish_travis_needs_command -a sshkey -d"Checks, updates or deletes an SSH key" 40complete -c travis -f -n __fish_travis_needs_command -a status -d"Checks status of the latest build" 41complete -c travis -f -n __fish_travis_needs_command -a sync -d"Triggers a new sync with GitHub" 42complete -c travis -f -n __fish_travis_needs_command -a token -d"Outputs the secret API token" 43complete -c travis -f -n __fish_travis_needs_command -a version -d"Outputs the client version" 44complete -c travis -f -n __fish_travis_needs_command -a whatsup -d"Lists most recent builds" 45complete -c travis -f -n __fish_travis_needs_command -a whoami -d"Outputs the current user" 46 47# General Options 48complete -c travis -f -s h -l help -d"Display help" 49complete -c travis -f -n'not __fish_travis_needs_command' -s i -l interactive -d"Be interactive and colorful" 50complete -c travis -f -n'not __fish_travis_needs_command' -l no-interactive -d"Don't be interactive and colorful" 51complete -c travis -f -n'not __fish_travis_needs_command' -s E -l explode -d"Don't rescue exceptions" 52complete -c travis -f -n'not __fish_travis_needs_command' -l no-explode -d"Rescue exceptions" 53complete -c travis -f -n'not __fish_travis_needs_command' -l skip-version-check -d"Don't check if travis client is up to date" 54complete -c travis -f -n'not __fish_travis_needs_command' -l skip-completion-check -d"Don't check if auto-completion is set up"