Class: Ea::Cli::Command::List
Overview
ea list FILE [--type TYPE]
Lists model elements from a QEA file. With --type, returns elements
of one kind (class/interface/package/diagram/connector/enum). Without
--type, returns a summary of counts per kind.
Operates standalone — does not require lutaml-uml.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Ea::Cli::Command::Base
Instance Method Details
#call ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/ea/cli/command/list.rb', line 14 def call rows = if [:type] list_by_type([:type]) else list_summary end formatter.render(rows, columns: columns_for_current_mode) end |