zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Update rake completion for version 13
@ 2023-01-28  4:11 Shohei YOSHIDA
  2023-01-28  4:11 ` [PATCH 1/1] " Shohei YOSHIDA
  0 siblings, 1 reply; 2+ messages in thread
From: Shohei YOSHIDA @ 2023-01-28  4:11 UTC (permalink / raw)
  To: zsh-workers; +Cc: Shohei YOSHIDA

Reference
- https://ruby.github.io/rake/doc/command_line_usage_rdoc.html
- rake --help
  - https://gist.github.com/syohex/0bfc33e7588fe72c40c561f396dc0640

Shohei YOSHIDA (1):
  Update rake completion for version 13

 Completion/Unix/Command/_rake | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

-- 
2.37.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] Update rake completion for version 13
  2023-01-28  4:11 [PATCH 0/1] Update rake completion for version 13 Shohei YOSHIDA
@ 2023-01-28  4:11 ` Shohei YOSHIDA
  0 siblings, 0 replies; 2+ messages in thread
From: Shohei YOSHIDA @ 2023-01-28  4:11 UTC (permalink / raw)
  To: zsh-workers; +Cc: Shohei YOSHIDA

---
 Completion/Unix/Command/_rake | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/Completion/Unix/Command/_rake b/Completion/Unix/Command/_rake
index 10d621991..49b49c014 100644
--- a/Completion/Unix/Command/_rake
+++ b/Completion/Unix/Command/_rake
@@ -1,12 +1,11 @@
 #compdef rake
 
-# rake, version 0.8.3
+# rake, version 13.0.6
 
 local curcontext="$curcontext" state line expl ret=1
 typeset -A opt_args
 
 _arguments -C -s -S \
-  '(--classic-namespace -C)'{--classic-namespace,-C}'[put Task and FileTask in the top level namespace]' \
   '(--dry-run -n)'{--dry-run,-n}'[do a dry run without executing actions]' \
   '(- *)'{--describe,-D}'[describe the tasks (matching the specified pattern), then exit]:pattern::' \
   '(--execute -e)'{--execute,-e}'[execute some Ruby code and exit]:Ruby code:' \
@@ -15,7 +14,7 @@ _arguments -C -s -S \
   '(- *)'{--help,-h,-H}'[display help information]' \
   \*{--libdir,-I}'[include specified directory in the search path for required modules]:library directory:_files -/' \
   '(--rakelibdir --rakelib -R)'{--rakelibdir,--rakelib,-R}'[auto-import any .rake files in the specified directory. (default is 'rakelib')]:rake library directory:_files -/' \
-  '(--nosearch -N)'{--nosearch,-N}'[do not search parent directories for the Rakefile]' \
+  '(--nosearch --no-search -N)'{--nosearch,--no-search,-N}'[do not search parent directories for the Rakefile]' \
   '(- *)'{--prereqs,-P}'[display the tasks and prerequisites, then exit]' \
   '(--quiet -q --silent -s --verbose -v)'{--quiet,-q}'[do not log messages to standard output]' \
   '(--rakefile -f)'{--rakefile,-f}'[use specified file as the rakefile]:rake file:_files' \
@@ -27,6 +26,18 @@ _arguments -C -s -S \
   '(--trace -t)'{--trace,-t}'[turn on invoke/execute tracing, enable full backtrace]' \
   '(--quiet -q --silent -s --verbose -v)'{--verbose,-v}'[log message to standard output (default)]' \
   '(- *)'{--version,-V}'[display version information]' \
+  '--backtrace=-[enable full backtrace]::out:(stderr stdout)' \
+  '--comments[show commented tasks only]' \
+  '--job-stats[display job statistics]:level' \
+  '--suppress-backtrace[suppress backtrace lines matching regexp PATTERN]:pattern' \
+  '(-A -a)'{-A,--all}'[show all tasks]' \
+  '(-B --build-all)'{-B,--build-all}'[build all prerequisites, including those which are up-to-date]' \
+  '(-C --directory)'{-C,--directory}'[change to DIRECTORY before doing anything]:dir:_files -/' \
+  '(-G --no-system --nosystem)'{-G,--no-system,--nosystem}'[use standard project Rakefile search paths, ignore system wide rakefiles]' \
+  '(-j --jobs)'{-j,--jobs}'[specifies the maximum number of tasks to execute in parallel]::tasks' \
+  '(-m --multitask)'{-m,--multitask}'[treat all tasks as multitasks]' \
+  '(- *)'{-W,--where}'[describe the tasks(matching optional PATTERN) then exit]::pattern' \
+  '(-X --no-deprecation-warnings)'{-X,--no-deprecation-warnings}'[disable the deprecation warnings]' \
   '*:target:->target' && ret=0
 
 case "$state" in
-- 
2.37.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-28  4:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28  4:11 [PATCH 0/1] Update rake completion for version 13 Shohei YOSHIDA
2023-01-28  4:11 ` [PATCH 1/1] " Shohei YOSHIDA

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).