Class: OpsBuild::Commands::Generate
- Inherits:
-
Thor
- Object
- Thor
- OpsBuild::Commands::Generate
- Defined in:
- lib/ops_build/commands/generate.rb
Instance Method Summary collapse
Instance Method Details
#box_index ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/ops_build/commands/generate.rb', line 10 def box_index BoxIndexer.new(dir: [:directory], out: [:json_path], name: [:name], desc: [:desc], root_url: [:root_url]).index! rescue => e OpsBuild.logger.error(e.) exit(1) end |