mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
add subcommon deintegrate to pod's autocomplete plugin
This commit is contained in:
parent
66bae5a5de
commit
06b2fc8002
1 changed files with 16 additions and 0 deletions
|
|
@ -649,10 +649,25 @@ case "$words[2]" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
deintegrate)
|
||||||
|
case "$words[3]" in
|
||||||
|
*) # pod deintegrate
|
||||||
|
_options=(
|
||||||
|
"--help:Show help banner of specified command"
|
||||||
|
"--no-ansi:Show output without ANSI codes"
|
||||||
|
"--silent:Show nothing"
|
||||||
|
"--verbose:Show more debugging information"
|
||||||
|
)
|
||||||
|
_describe -t options "pod deintegrate options" _options
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
|
||||||
*) # pod
|
*) # pod
|
||||||
_subcommands=(
|
_subcommands=(
|
||||||
"help:Show help for the given command."
|
"help:Show help for the given command."
|
||||||
"ipc:Inter-process communication"
|
"ipc:Inter-process communication"
|
||||||
|
"env:Display pod environment"
|
||||||
"init:Generate a Podfile for the current directory."
|
"init:Generate a Podfile for the current directory."
|
||||||
"install:Install project dependencies"
|
"install:Install project dependencies"
|
||||||
"lib:Develop pods"
|
"lib:Develop pods"
|
||||||
|
|
@ -667,6 +682,7 @@ case "$words[2]" in
|
||||||
"trunk:Interact with the CocoaPods API (e.g. publishing new specs)"
|
"trunk:Interact with the CocoaPods API (e.g. publishing new specs)"
|
||||||
"try:Try a Pod!"
|
"try:Try a Pod!"
|
||||||
"update:Update outdated project dependencies"
|
"update:Update outdated project dependencies"
|
||||||
|
"deintegrate:Deintegrate CocoaPods from your project( \$gem install cocoapods-deintegrate)"
|
||||||
)
|
)
|
||||||
_describe -t commands "pod subcommands" _subcommands
|
_describe -t commands "pod subcommands" _subcommands
|
||||||
_options=(
|
_options=(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue