Permalink
Browse files

Re-add `babushka search` as a stub that explains the removal.

  • Loading branch information...
1 parent aba9e95 commit c858cd31619b85e94a61504678745d1696e5d7d2 @benhoskings committed Mar 31, 2013
Showing with 5 additions and 0 deletions.
  1. +4 −0 lib/babushka/cmdline.rb
  2. +1 −0 spec/babushka/cmdline/help_spec.rb
View
@@ -90,6 +90,10 @@ class Cmdline
exec "irb -r'#{Path.lib / 'babushka'}' --simple-prompt"
}
+ handle('search', "[removed] Search for deps in the community database").run {|cmd|
+ fail_with "Dep search has been removed (and public dep runs are no longer reported).\nMore info in the merge: https://github.com/benhoskings/babushka/commit/9741eb3"
+ }
+
handle('edit', "Load the file containing the specified dep in $EDITOR").run {|cmd|
if cmd.argv.length != 1
fail_with "'edit' requires a single argument."
@@ -18,6 +18,7 @@
" meet The main one: run a dep and all its dependencies.",
" sources Manage dep sources",
" console Start an interactive (irb-based) babushka session",
+ " search [removed] Search for deps in the community database",
" edit Load the file containing the specified dep in $EDITOR",
"\nCommands can be abbrev'ed, as long as they remain unique.",
" e.g. '#{Base.program_name} l' is short for '#{Base.program_name} list'.",

0 comments on commit c858cd3

Please sign in to comment.