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.212.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.212.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.211.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.210.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.210.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.209.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.209.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.208.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.207.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.206.2 fastlane/lib/assets/completions/completion.zsh
fastlane-2.206.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.206.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.205.2 fastlane/lib/assets/completions/completion.zsh
fastlane-2.205.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.205.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.204.3 fastlane/lib/assets/completions/completion.zsh
fastlane-2.204.2 fastlane/lib/assets/completions/completion.zsh
fastlane-2.204.1 fastlane/lib/assets/completions/completion.zsh
fastlane-2.204.0 fastlane/lib/assets/completions/completion.zsh
fastlane-2.203.0 fastlane/lib/assets/completions/completion.zsh