From 06b2fc8002e186bbe6768cd880dd086ceda3f61f Mon Sep 17 00:00:00 2001 From: PENGBIN Date: Fri, 21 Apr 2017 14:27:33 +0800 Subject: [PATCH] add subcommon deintegrate to pod's autocomplete plugin --- plugins/pod/_pod | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugins/pod/_pod b/plugins/pod/_pod index 508a4710..48e575b2 100644 --- a/plugins/pod/_pod +++ b/plugins/pod/_pod @@ -649,10 +649,25 @@ case "$words[2]" in ;; 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 _subcommands=( "help:Show help for the given command." "ipc:Inter-process communication" + "env:Display pod environment" "init:Generate a Podfile for the current directory." "install:Install project dependencies" "lib:Develop pods" @@ -667,6 +682,7 @@ case "$words[2]" in "trunk:Interact with the CocoaPods API (e.g. publishing new specs)" "try:Try a Pod!" "update:Update outdated project dependencies" + "deintegrate:Deintegrate CocoaPods from your project( \$gem install cocoapods-deintegrate)" ) _describe -t commands "pod subcommands" _subcommands _options=(