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, doc
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Error handler.
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
Error handler
131 132 133 |
# File 'lib/lutaml/xsd/cli.rb', line 131 def self.exit_on_failure? true end |
Instance Method Details
#generate_spa(package_path) ⇒ Object
121 122 123 |
# File 'lib/lutaml/xsd/cli.rb', line 121 def generate_spa(package_path) Commands::GenerateSpaCommand.new(package_path, ).run end |