Class: Lutaml::Xsd::Cli
- Inherits:
-
Thor
- Object
- Thor
- Lutaml::Xsd::Cli
- Defined in:
- lib/lutaml/xsd/cli.rb
Overview
Main CLI class for lutaml-xsd command-line interface Provides MECE command structure: pkg, xml, build, spa
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Error handler.
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
Error handler
114 115 116 |
# File 'lib/lutaml/xsd/cli.rb', line 114 def self.exit_on_failure? true end |
Instance Method Details
#spa(package_path) ⇒ Object
104 105 106 |
# File 'lib/lutaml/xsd/cli.rb', line 104 def spa(package_path) Commands::GenerateSpaCommand.new(package_path, ).run end |