Sha256: 15f7555ea3f4f70db96dbe5e18ef83b80ea0d77d54ed46702d6fe01cc074899d
Contents?: true
Size: 609 Bytes
Versions: 3
Compression:
Stored size: 609 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}" ) }
Version data entries
3 entries across 3 versions & 1 rubygems