Class: Lutaml::Xsd::Commands::TypeCommand::DependenciesCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Lutaml::Xsd::Commands::TypeCommand::DependenciesCommand
- Defined in:
- lib/lutaml/xsd/commands/type_command.rb
Overview
Dependencies command implementation
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
-
#initialize(qname, package_path, options) ⇒ DependenciesCommand
constructor
A new instance of DependenciesCommand.
- #run ⇒ Object
Constructor Details
#initialize(qname, package_path, options) ⇒ DependenciesCommand
Returns a new instance of DependenciesCommand.
993 994 995 996 997 |
# File 'lib/lutaml/xsd/commands/type_command.rb', line 993 def initialize(qname, package_path, ) super() @qname = qname @package_path = package_path end |
Instance Method Details
#run ⇒ Object
999 1000 1001 1002 1003 1004 |
# File 'lib/lutaml/xsd/commands/type_command.rb', line 999 def run repository = load_repository(@package_path) repository = ensure_resolved(repository) display_dependencies(repository) end |