bin/itools in itools-0.4.0 vs bin/itools in itools-0.4.1
- old
+ new
@@ -40,19 +40,19 @@
end
# 计算占用内存大小
desc "calculate the memory footprint of file or folder(contain file)"
arg 'xxx.txt'
-command :sizeFor do |c|
+command :size_for do |c|
c.action do |global_options, options, args|
Itools::Memory.sizeFor(args)
end
end
# 查找文件
desc "search File in folder"
arg 'file name'
-command :searchFile do |c|
+command :search_file do |c|
c.action do |global_options, options, args|
Itools::FileSearcher.searchFile(args)
end
end
exit run(ARGV)
\ No newline at end of file