Sha256: dc3a3b04511be9317af2df4339b5001b60a9e9c9b72d77f1b370b35348d8c6e1
Contents?: true
Size: 654 Bytes
Versions: 60
Compression:
Stored size: 654 Bytes
Contents
#!/bin/bash _fastlane_complete() { COMPREPLY=() local word="${COMP_WORDS[COMP_CWORD]}" local completions="" local file # look for Fastfile either in this directory or fastlane/ then grab the lane names if [[ -e "Fastfile" ]]; then file="Fastfile" elif [[ -e "fastlane/Fastfile" ]]; then file="fastlane/Fastfile" elif [[ -e ".fastlane/Fastfile" ]]; then file=".fastlane/Fastfile" else return 1 fi # parse 'beta' out of 'lane :beta do', etc completions="$(sed -En 's/^[ ]*lane +:([^ ]+).*$/\1/p' "$file")" completions="$completions update_fastlane" COMPREPLY=( $(compgen -W "$completions" -- "$word") ) }
Version data entries
60 entries across 60 versions & 4 rubygems