bin/my_help in my_help-0.7.3 vs bin/my_help in my_help-0.7.4
- old
+ new
@@ -48,9 +48,26 @@
c.action do |global_options,options,args|
$control.delete_help(args[0])
end
end
+desc 'tomo_upload HELP_NAME help'
+arg_name 'HELP_NAME'
+command :tomo_upload do |c|
+ c.action do |global_options,options,args|
+ $control.upload_help(args[0])
+ end
+end
+
+desc 'search FIND_CHAR'
+arg_name = 'FIND_CHAR'
+command :search do |c|
+ c.action do |global_options,options,args|
+ $control.search_help(args[0])
+ end
+end
+
+
pre do |global,command,options,args|
$control = MyHelp::Control.new()
true
end