Class: Lutaml::Xsd::Commands::MetadataCommand

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

Overview

Metadata management commands Handles get and set operations for package metadata

Defined Under Namespace

Classes: GetCommand, SetCommand

Instance Method Summary collapse

Instance Method Details

#get(package_path, key = nil) ⇒ Object



28
29
30
# File 'lib/lutaml/xsd/commands/metadata_command.rb', line 28

def get(package_path, key = nil)
  GetCommand.new(package_path, key, options).run
end

#set(package_path) ⇒ Object



43
44
45
# File 'lib/lutaml/xsd/commands/metadata_command.rb', line 43

def set(package_path)
  SetCommand.new(package_path, options).run
end