README.md in itools-0.1.5 vs README.md in itools-0.1.6
- old
+ new
@@ -17,17 +17,18 @@
SYNOPSIS
itools [global options] command [command options] [arguments...]
VERSION
- 0.1.4
+ 0.1.5
GLOBAL OPTIONS
--help - Show this message
--version - Display the program version
COMMANDS
+ find - search unuse image
help - Shows a list of commands or help for one command
parse - Analyze the memory footprint of each part or component in Xcode project
search - search str(or strs) in some file(or folder's file)
```
@@ -76,8 +77,18 @@
4.在文件夹所有文件文件中查找某些字符串:
```ruby
itools search /Users/zhanggui/zhanggui/Ruby/ 3434,Scott
```
将会在/Users/zhanggui/zhanggui/Ruby/中查找所有包含3434和Scott的文件,并生成excel。
+
+### 功能3:查找工程中无用的图片
+命令
+```
+itools find /Users/zhanggui/zhanggui/tdp
+```
+这里的目录代表项目的根目录,查找原理为:
+先将目录下面所有的图片(仅支持png、jpg、gif)找到,然后遍历所有.m文件。查找出没有使用的图片。
+**注:这里查找不太准确,仅供参考,因为有可能有的图片不是通过.m文件使用的。而有的图片仅仅是为了配置(例如1024*1024),所以还是不要依赖该工具的图片查找,找到之后可以自行再次确认一下。**
+
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ScottZg/itools. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the