Sha256: 9e18983676ef82399aef75f2b8622a22de32c1b5936274141608fd534bbe404c

Contents?: true

Size: 574 Bytes

Versions: 58

Compression:

Stored size: 574 Bytes

Contents

#!/bin/zsh

_fastlane_complete() {
  local word completions file
  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"
  else
    return 1
  fi

  # parse 'beta' out of 'lane :beta do', etc
  completions="$(sed -En 's/^[ 	]*lane +:([^ 	]+).*$/\1/p' "$file")"
  completions="$completions update_fastlane"

  reply=( "${=completions}" )
}

Version data entries

58 entries across 58 versions & 4 rubygems

Version Path
fastlane-2.225.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.224.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.223.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.223.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.222.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.221.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.221.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.220.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.219.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.218.0 fastlane/lib/assets/completions/completion.zsh
fastlane-security-patched-2.216.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.217.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.216.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.215.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.215.0 fastlane/lib/assets/completions/completion.zsh
fastlane-mercafacil-2.214.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.214.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.213.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.212.2 fastlane/lib/assets/completions/completion.zsh
fastlane_pricing_fix-2.212.1 fastlane/lib/assets/completions/completion.zsh