lib/rails_erd/cli.rb in rails-erd-1.4.2 vs lib/rails_erd/cli.rb in rails-erd-1.4.3
- old
+ new
@@ -10,23 +10,20 @@
end
option :notation do
long "--notation=STYLE"
desc "Diagram notation style, one of simple, bachman, uml or crowsfoot."
- default "simple"
end
option :attributes do
long "--attributes=TYPE,..."
desc "Attribute groups to display: content, primary_keys, foreign_keys, timestamps and/or inheritance."
- default "content"
end
option :orientation do
long "--orientation=ORIENTATION"
desc "Orientation of diagram, either horizontal (default) or vertical."
- default "orientation"
end
option :inheritance do
long "--inheritance"
desc "Display (single table) inheritance relationships."
@@ -58,31 +55,27 @@
end
option :sort do
long "--sort=BOOLEAN"
desc "Sort attribute list alphabetically"
- default "false"
end
option :prepend_primary do
long "--prepend_primary=BOOLEAN"
desc "Ensure primary key is at start of attribute list"
- default "false"
end
separator ""
separator "Output options:"
option :filename do
long "--filename=FILENAME"
desc "Basename of the output diagram."
- default "erd"
end
option :filetype do
long "--filetype=TYPE"
desc "Output file type. Available types depend on the diagram renderer."
- default "pdf"
end
option :no_markup do
long "--no-markup"
desc "Disable markup for enhanced compatibility of .dot output with other applications."