Sha256: 73cb6a63d354df00a6f1f59b7ae7cce8b2f6578eeeb4ab9f2242e37eff7b684c
Contents?: true
Size: 580 Bytes
Versions: 303
Compression:
Stored size: 580 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}'` reply=( "${(ps:\n:)completions}" ) } compctl -K _fastlane_complete fastlane
Version data entries
303 entries across 303 versions & 1 rubygems