Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


# Mongify::Mongoid

Mongoify-Mongoid generates valid Mongoid Models from the Mongify translation file.
Expand All @@ -10,9 +12,10 @@ Learn more about [Mongify](http://mongify.com/)

## Usage

mongify_mongoid translation_file.rb [--output ~/output_dir]
mongify_mongoid translation_file.rb [--output DIR] [--force]

*default output dir is the current_directory/models*
* default output dir is `models` in the current directory
* use `--force` or `-F` to overwrite an existing output directory

## Contributing

Expand Down Expand Up @@ -54,4 +57,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.