Class: Lutaml::Xsd::Commands::NamespaceCommand

Inherits:
Thor
  • Object
show all
Defined in:
lib/lutaml/xsd/commands/namespace_command.rb

Overview

Namespace exploration commands Handles listing, showing, and visualizing namespace hierarchies

Defined Under Namespace

Classes: ListCommand, PrefixesCommand, RemapCommand, ShowCommand, TreeCommand

Instance Method Summary collapse

Instance Method Details

#list(package_file) ⇒ Object



45
46
47
# File 'lib/lutaml/xsd/commands/namespace_command.rb', line 45

def list(package_file)
  ListCommand.new(package_file, options).run
end

#prefixes(package_file) ⇒ Object



121
122
123
# File 'lib/lutaml/xsd/commands/namespace_command.rb', line 121

def prefixes(package_file)
  PrefixesCommand.new(package_file, options).run
end

#remap(package_file) ⇒ Object



149
150
151
# File 'lib/lutaml/xsd/commands/namespace_command.rb', line 149

def remap(package_file)
  RemapCommand.new(package_file, options).run
end

#show(namespace_uri, package_file) ⇒ Object



74
75
76
# File 'lib/lutaml/xsd/commands/namespace_command.rb', line 74

def show(namespace_uri, package_file)
  ShowCommand.new(namespace_uri, package_file, options).run
end

#tree(package_file) ⇒ Object



97
98
99
# File 'lib/lutaml/xsd/commands/namespace_command.rb', line 97

def tree(package_file)
  TreeCommand.new(package_file, options).run
end