Class: Lutaml::Xsd::Commands::BuildCommand
- Inherits:
-
Thor
- Object
- Thor
- Lutaml::Xsd::Commands::BuildCommand
- Defined in:
- lib/lutaml/xsd/commands/build_command.rb
Overview
Package creation commands (MECE category) Handles all package building and initialization operations
Instance Method Summary collapse
- #auto(config_file) ⇒ Object
- #from_config(config_file) ⇒ Object
- #init(*entry_points) ⇒ Object
- #quick(config_file) ⇒ Object
- #validate(package_file) ⇒ Object
- #validate_resolution(package_file) ⇒ Object
Instance Method Details
#auto(config_file) ⇒ Object
170 171 172 173 |
# File 'lib/lutaml/xsd/commands/build_command.rb', line 170 def auto(config_file) require_relative "package_command" PackageCommand::AutoBuildCommand.new(config_file, ).run end |
#from_config(config_file) ⇒ Object
66 67 68 69 |
# File 'lib/lutaml/xsd/commands/build_command.rb', line 66 def from_config(config_file) require_relative "package_command" PackageCommand::BuildCommand.new(config_file, ).run end |
#init(*entry_points) ⇒ Object
111 112 113 114 |
# File 'lib/lutaml/xsd/commands/build_command.rb', line 111 def init(*entry_points) require_relative "init_command" InitCommand.new(entry_points, ).run end |
#quick(config_file) ⇒ Object
144 145 146 147 |
# File 'lib/lutaml/xsd/commands/build_command.rb', line 144 def quick(config_file) require_relative "package_command" PackageCommand::QuickCommand.new(config_file, ).run end |
#validate(package_file) ⇒ Object
198 199 200 201 |
# File 'lib/lutaml/xsd/commands/build_command.rb', line 198 def validate(package_file) require_relative "package_command" PackageCommand::ValidateCommand.new(package_file, ).run end |
#validate_resolution(package_file) ⇒ Object
225 226 227 228 229 |
# File 'lib/lutaml/xsd/commands/build_command.rb', line 225 def validate_resolution(package_file) require_relative "package_command" PackageCommand::ValidateResolutionCommand.new(package_file, ).run end |