Class: Lutaml::Xsd::Commands::PackageCommand

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

Overview

Package management commands Handles build, validate, and info operations for .lxr packages

Defined Under Namespace

Classes: AutoBuildCommand, BuildCommand, ExtractCommand, InfoCommand, QuickCommand, SchemasCommand, ValidateCommand, ValidateResolutionCommand

Instance Method Summary collapse

Instance Method Details

#auto_build(config_file) ⇒ Object



171
172
173
# File 'lib/lutaml/xsd/commands/package_command.rb', line 171

def auto_build(config_file)
  AutoBuildCommand.new(config_file, options).run
end

#build(config_file) ⇒ Object



99
100
101
# File 'lib/lutaml/xsd/commands/package_command.rb', line 99

def build(config_file)
  BuildCommand.new(config_file, options).run
end

#coverage(package_path) ⇒ Object



299
300
301
302
# File 'lib/lutaml/xsd/commands/package_command.rb', line 299

def coverage(package_path)
  require_relative "coverage_command"
  CoverageCommand.new(package_path, options).run
end

#extract(package_file, schema_name) ⇒ Object



364
365
366
# File 'lib/lutaml/xsd/commands/package_command.rb', line 364

def extract(package_file, schema_name)
  ExtractCommand.new(package_file, schema_name, options).run
end

#info(package_file) ⇒ Object



123
124
125
# File 'lib/lutaml/xsd/commands/package_command.rb', line 123

def info(package_file)
  InfoCommand.new(package_file, options).run
end

#init(*entry_points) ⇒ Object



61
62
63
# File 'lib/lutaml/xsd/commands/package_command.rb', line 61

def init(*entry_points)
  InitCommand.new(entry_points, options).run
end

#quick(config_file) ⇒ Object



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

def quick(config_file)
  QuickCommand.new(config_file, options).run
end

#schemas(package_file) ⇒ Object



237
238
239
# File 'lib/lutaml/xsd/commands/package_command.rb', line 237

def schemas(package_file)
  SchemasCommand.new(package_file, options).run
end

#stats(package_file) ⇒ Object



200
201
202
203
# File 'lib/lutaml/xsd/commands/package_command.rb', line 200

def stats(package_file)
  require_relative "stats_command"
  StatsCommand::ShowCommand.new(package_file, options).run
end

#tree(package_file) ⇒ Object



408
409
410
# File 'lib/lutaml/xsd/commands/package_command.rb', line 408

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

#validate(package_file) ⇒ Object



113
114
115
# File 'lib/lutaml/xsd/commands/package_command.rb', line 113

def validate(package_file)
  ValidateCommand.new(package_file, options).run
end

#validate_resolution(package_file) ⇒ Object



265
266
267
# File 'lib/lutaml/xsd/commands/package_command.rb', line 265

def validate_resolution(package_file)
  ValidateResolutionCommand.new(package_file, options).run
end

#verify(package_path) ⇒ Object



337
338
339
340
# File 'lib/lutaml/xsd/commands/package_command.rb', line 337

def verify(package_path)
  require_relative "verify_command"
  VerifyCommand.new(package_path, options).run
end