README.md in sandi_meter-1.1.8 vs README.md in sandi_meter-1.2.0
- old
+ new
@@ -5,11 +5,11 @@
Static analysis tool for checking your Ruby code for [Sandi Metz' four rules](http://robots.thoughtbot.com/post/50655960596/sandi-metz-rules-for-developers).
* 100 lines per class
* 5 lines per method
* 4 params per method call (and don't even try cheating with hash params)
-* 1 instance variables per controller' action
+* 1 instance variable per controller action
## CLI mode
~~~
gem install sandi_meter
@@ -17,11 +17,15 @@
sandi_meter --help
-d, --details CLI mode. Show details (path, line number)
-g, --graph HTML mode. Create folder, log data and output stats to HTML file.
--json Output as JSON
-l, --log Show syntax error and indentation log output
- -p, --path PATH Path to folder or file to analyze (default is ".")
+ -o, --output-path PATH Path for storing generated output files (default: ./sandi_meter/)
+ -p, --path PATH Path to folder or file to analyze
+ -q, --quiet Do not open HTML report for graph option in browser.
+ -t, --thresholds THRESHOLD Thresholds for each rule (default: "90,90,90,90" or in config.yml)
-r, --rules Show rules
+ -v, --version Gem version
-h, --help Help
cd ~/your/ruby/or/rails/project
sandi_meter -d