lib/rails_erd/cli.rb in rails-erd-1.0.0 vs lib/rails_erd/cli.rb in rails-erd-1.1.0
- old
+ new
@@ -32,20 +32,30 @@
desc "Display (single table) inheritance relationships."
end
option :polymorphism do
long "--polymorphism"
- desc "Display polymorphic relationships."
+ desc "Display polymorphic and abstract entities."
end
option :no_indirect do
long "--direct"
desc "Omit indirect relationships (through other entities)."
end
option :no_disconnected do
long "--connected"
desc "Omit entities without relationships."
+ end
+
+ option :only do
+ long "--only"
+ desc "Filter to only include listed models in diagram."
+ end
+
+ option :exclude do
+ long "--exclude"
+ desc "Filter to exclude listed models in diagram."
end
separator ""
separator "Output options:"