README.md in columns-0.0.1 vs README.md in columns-0.1.0
- old
+ new
@@ -1,6 +1,6 @@
-# Columns
+# Columns [![Gem Version](https://badge.fury.io/rb/columns.svg)](http://badge.fury.io/rb/columns)
Annotates activerecord models using `db/schema.rb`.
This is an alternative to the annotate gem for non rails apps.
@@ -20,14 +20,24 @@
## Usage
$ cd your_project
-Once you have generate a `db/schema.rb`, just type
+Once you have generate a `db/schema.rb`, just type the following to
+annotate your models:
$ columns
-to annotate your models.
+### Do it programmaticaly
+
+Instead of using Columns as a shell command, you can use it as a
+library. To do so, call the following method:
+
+``` ruby
+require 'columns'
+
+Columns.execute
+```
Note that models must to reside in `app/models`.
## Contributing