bin/itools in itools-0.1.3 vs bin/itools in itools-0.1.4
- old
+ new
@@ -13,6 +13,13 @@
c.action do |global_options, options, args|
Itools::LinkMap.parser(args[0])
end
end
+desc "search str(or strs) in some file(or folder's file)"
+arg 'xxx.txt'
+command :search do |c|
+ c.action do |global_options, options, args|
+ Itools::StringSearcher.search_result(args[0],args[1])
+ end
+end
exit run(ARGV)
\ No newline at end of file