Class: Expressir::Commands::Changes

Inherits:
Thor
  • Object
show all
Defined in:
lib/expressir/commands/changes.rb

Overview

Thor subcommand for EXPRESS Changes file operations

Instance Method Summary collapse

Instance Method Details

#import_eengine(input_xml, schema_name, version) ⇒ Object



29
30
31
32
33
# File 'lib/expressir/commands/changes.rb', line 29

def import_eengine(input_xml, schema_name, version)
  require_relative "changes_import_eengine"
  ChangesImportEengine.call(input_xml, options[:output], schema_name,
                            version, **options)
end

#validate(path) ⇒ Object



18
19
20
21
# File 'lib/expressir/commands/changes.rb', line 18

def validate(path)
  require_relative "changes_validate"
  ChangesValidate.new(options).run(path)
end