89067b53879aeb34e5b6d8ea1325f766394e5d25
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/pod/_pod b/plugins/pod/_pod
2new file mode 100644
3index 0000000000000000000000000000000000000000..563fa5e666459bee4c92bb588cbc8681be404c07
4--- /dev/null
5+++ b/plugins/pod/_pod
6@@ -0,0 +1,381 @@
7+#compdef pod
8+#autoload
9+
10+# -----------------------------------------------------------------------------
11+# FILE: _pod
12+# DESCRIPTION: Cocoapods autocomplete plugin for Oh-My-Zsh
13+# http://cocoapods.org
14+# AUTHOR: Alexandre Joly (alexandre.joly@mekanics.ch)
15+# GITHUB: https://github.com/mekanics
16+# TWITTER: @jolyAlexandre
17+# VERSION: 0.0.1
18+# LICENSE: MIT
19+# -----------------------------------------------------------------------------
20+
21+local -a _1st_arguments
22+_1st_arguments=(
23+ 'help:Show help for the given command.'
24+ 'install:Install project dependencies'
25+ 'ipc:Inter-process communication'
26+ 'list:List pods'
27+ 'outdated:Show outdated project dependencies'
28+ 'podfile-info:Shows information on installed Pods'
29+ 'push:Push new specifications to a spec-repo'
30+ 'repo:Manage spec-repositories'
31+ 'search:Searches for pods'
32+ 'setup:Setup the CocoaPods environment'
33+ 'spec:Manage pod specs'
34+ 'update:Update outdated project dependencies'
35+)
36+
37+local -a _repo_arguments
38+_repo_arguments=(
39+ 'add:Add a spec repo'
40+ 'lint:Validates all specs in a repo'
41+ 'update:Update a spec repo'
42+)
43+
44+local -a _spec_arguments
45+_spec_arguments=(
46+ 'cat:Prints a spec file'
47+ 'create:Create spec file stub'
48+ 'edit:Edit a spec file'
49+ 'lint:Validates a spec file'
50+ 'which:Prints the path of the given spec'
51+)
52+
53+local -a _ipc_arguments
54+_ipc_arguments=(
55+ 'list:Lists the specifications know to CocoaPods'
56+ 'podfile:Converts a Podfile to YAML'
57+ 'repl:The repl listens to commands on standard input'
58+ 'spec:Converts a podspec to YAML'
59+ 'update-search-index:Updates the search index'
60+)
61+
62+local -a _list_arguments
63+_list_arguments=(
64+ 'new:Lists pods introduced in the master spec-repo since the last check'
65+)
66+
67+local -a _inherited_options
68+_inherited_options=(
69+ '(--silent)--silent[Show nothing]' \
70+ '(--version)--version[Show the version of CocoaPods]' \
71+ '(--no-color)--no-color[Show output without color]' \
72+ '(--verbose)--verbose[Show more debugging information]' \
73+ '(--help)--help[Show help banner of specified command]'
74+)
75+
76+local -a _install_options
77+_install_options=(
78+ '(--no-clean)--no-clean[Leave SCM dirs like `.git` and `.svn` intact after downloading]' \
79+ '(--no-integrate)--no-integrate[Skip integration of the Pods libraries in the Xcode project(s)]' \
80+ '(--no-repo-update)--no-repo-update[Skip running `pod repo update` before install]'
81+)
82+
83+local -a _update_options
84+_update_options=(
85+ '(--no-clean)--no-clean[Leave SCM dirs like `.git` and `.svn intact after downloading]' \
86+ '(--no-integrate)--no-integrate[Skip integration of the Pods libraries in the Xcode project(s)]' \
87+ '(--no-repo-update)--no-repo-update[Skip running `pod repo update before install]'
88+)
89+
90+local -a _outdated_options
91+_outdated_options=(
92+ '(--no-repo-update)--no-repo-update[Skip running `pod repo update` before install]'
93+)
94+
95+local -a _search_options
96+_search_options=(
97+ '(--full)--full[Search by name, summary, and description]' \
98+ '(--stats)--stats[Show additional stats (like GitHub watchers and forks)]' \
99+ '(--ios)--ios[Restricts the search to Pods supported on iOS]' \
100+ '(--osx)--osx[Restricts the search to Pods supported on OS X]'
101+)
102+
103+local -a _list_options
104+_list_options=(
105+ '(--update)--update[Run `pod repo update` before listing]'