Sha256: 84f45148f1ddd96974ee83576767e19df1292e01aa70378a391c2549aba7a2f7
Contents?: true
Size: 625 Bytes
Versions: 75
Compression:
Stored size: 625 Bytes
Contents
#!/bin/zsh _fastlane_complete() { local word completions word="$1" # 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" fi # parse 'beta' out of 'lane :beta do', etc completions=`cat $file | grep "^\s*lane \:" | awk -F ':' '{print $2}' | awk -F ' ' '{print $1}'` completions="$completions update_fastlane" reply=( "${(ps:\n:)completions}" ) } compctl -K _fastlane_complete fastlane
Version data entries
75 entries across 75 versions & 1 rubygems