Class: Suma::Cli::Export
- Inherits:
-
Thor
- Object
- Thor
- Suma::Cli::Export
- Defined in:
- lib/suma/cli/export.rb
Overview
Export command for exporting EXPRESS schemas from a manifest
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
96 97 98 |
# File 'lib/suma/cli/export.rb', line 96 def self.exit_on_failure? true end |
Instance Method Details
#export(*files) ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/suma/cli/export.rb', line 21 def export(*files) require_relative "../schema_exporter" require_relative "../utils" require "expressir" validate_files(files) run(files, ) end |