README.md in attractor-2.2.0 vs README.md in attractor-2.3.0
- old
+ new
@@ -184,10 +184,21 @@
- attractor_output
```
## CLI Commands and Options
+Initialize the local cache:
+
+```sh
+attractor init
+ --file_prefix|-p app/models
+ --type|-t rb|js
+ --start_ago|-s (e.g. 5y, 3m, 7w)
+ --minimum_churn|-c (minimum times a file must have changed to be processed)
+ --ignore|-i 'spec/*_spec.rb,db/schema.rb,tmp'
+```
+
Print a simple output to console:
```sh
attractor calc
--file_prefix|-p app/models
@@ -220,9 +231,16 @@
--no-open-browser|--ci
--start_ago|-s (e.g. 5y, 3m, 7w)
--minimum_churn|-c (minimum times a file must have changed to be processed)
--ignore|-i 'spec/*_spec.rb,db/schema.rb,tmp'
```
+
+Clear the local cache:
+
+```sh
+attractor clean
+```
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.