0892bce00b73fdf75d70e554b1fd64ae0fd5e61a

Author
Alexandre Joly <alexandre.joly@futurecom.ch>
Committer
Alexandre Joly <alexandre.joly@futurecom.ch>
Date

Message

supplemented with options

Diff

This diff is truncated to protect this page.

  1diff --git a/plugins/pod/_pod b/plugins/pod/_pod
  2index 78644745ba8ee83d6f466653f0c8f2b34570807b..bb4f782b33e613ad03e0addbaf436950587a9292 100644
  3--- a/plugins/pod/_pod
  4+++ b/plugins/pod/_pod
  5@@ -12,19 +12,6 @@
  6 #       LICENSE:  MIT
  7 # -----------------------------------------------------------------------------
  8 
  9-#------------------
 10-# TODO:
 11-#   - Parameters for
 12-#       - install
 13-#       - update
 14-#       - outdated
 15-#       - search
 16-#       - list
 17-#       - push
 18-#       - podfile-info
 19-#       - setup
 20-#------------------
 21-
 22 local -a _1st_arguments
 23 _1st_arguments=(
 24     'help:Show help for the given command.'
 25@@ -71,6 +58,92 @@ _list_arguments=(
 26     'new:Lists pods introduced in the master spec-repo since the last check'
 27 )
 28 
 29+local -a _inherited_options
 30+_inherited_options=(
 31+    '(--silent)--silent[Show nothing]' \
 32+    '(--version)--version[Show the version of CocoaPods]' \
 33+    '(--no-color)--no-color[Show output without color]' \
 34+    '(--verbose)--verbose[Show more debugging information]' \
 35+    '(--help)--help[Show help banner of specified command]'
 36+)
 37+
 38+local -a _install_options
 39+_install_options=(
 40+    '(--no-clean)--no-clean[Leave SCM dirs like `.git` and `.svn` intact after downloading]' \
 41+    '(--no-integrate)--no-integrate[Skip integration of the Pods libraries in the Xcode project(s)]' \
 42+    '(--no-repo-update)--no-repo-update[Skip running `pod repo update` before install]'
 43+)
 44+
 45+local -a _update_options
 46+_update_options=(
 47+    '(--no-clean)--no-clean[Leave SCM dirs like `.git` and `.svn intact after downloading]' \
 48+    '(--no-integrate)--no-integrate[Skip integration of the Pods libraries in the Xcode project(s)]' \
 49+    '(--no-repo-update)--no-repo-update[Skip running `pod repo update before install]'
 50+)
 51+
 52+local -a _outdated_options
 53+_outdated_options=(
 54+    '(--no-repo-update)--no-repo-update[Skip running `pod repo update` before install]'
 55+)
 56+
 57+local -a _search_options
 58+_search_options=(
 59+    '(--full)--full[Search by name, summary, and description]' \
 60+    '(--stats)--stats[Show additional stats (like GitHub watchers and forks)]' \
 61+    '(--ios)--ios[Restricts the search to Pods supported on iOS]' \
 62+    '(--osx)--osx[Restricts the search to Pods supported on OS X]'
 63+)
 64+
 65+local -a _list_options
 66+_list_options=(
 67+    '(--update)--update[Run `pod repo update` before listing]'
 68+)
 69+
 70+local -a _podfile_info_options
 71+_podfile_info_options=(
 72+    '(--all)--all[Show information about all Pods with dependencies that are used in a project]' \
 73+    '(--md)--md[Output information in Markdown format]'
 74+)
 75+
 76+local -a _push_options
 77+_push_options=(
 78+    '(--allow-warnings)--allow-warnings[Allows pushing even if there are warnings]' \
 79+    '(--local-only)--local-only[Does not perform the step of pushing REPO to its remote]'
 80+)
 81+
 82+local -a _repo_lint_options
 83+_repo_lint_options=(
 84+    '(--only-errors)--only-errors[Lint presents only the errors]'
 85+)
 86+
 87+local -a _setup_options
 88+_setup_options=(
 89+    '(--push)--push[Use this option to enable push access once granted]'
 90+)
 91+
 92+local -a _spec_lint_options
 93+_spec_lint_options=(
 94+    '(--quick)--quick[Lint skips checks that would require to download and build the spec]' \
 95+    '(--only-errors)--only-errors[Lint validates even if warnings are present]' \
 96+    '(--no-clean)--no-clean[Lint leaves the build directory intact for inspection]'
 97+)
 98+
 99+local -a _spec_cat_options
100+_spec_cat_options=(
101+    '(--show-all)--show-all[Pick from all versions of the given podspec]'
102+)
103+
104+local -a _spec_which_options