Class: Ea::Cli::Command::Parse
Overview
ea parse FILE [--format json|yaml]
Parses the EA file (QEA or Sparx XMI) to a Lutaml::Uml::Document and serializes it. Requires 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
11 12 13 14 |
# File 'lib/ea/cli/command/parse.rb', line 11 def call document = parse_to_uml(file_path) formatter_output(document) end |