Class: Ea::Cli::Command::Mdg
Overview
ea mdg ACTION [ARG]
Actions:
list — list registered technologies
show NAME — show stereotype details
stereotypes — list all stereotypes across technologies
Constant Summary collapse
- COLUMNS =
%i[name version stereotypes].freeze
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
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/ea/cli/command/mdg.rb', line 15 def call case action when "list" then list_technologies when "show" then show_stereotype(arg) when "stereotypes" then list_stereotypes else raise Ea::Cli::Error, "Unknown mdg action: #{action}. " \ "Valid: list | show NAME | stereotypes" end end |