Class: Esse::CLI::Index::Import
- Inherits:
-
BaseOperation
- Object
- BaseOperation
- Esse::CLI::Index::Import
- Defined in:
- lib/esse/cli/index/import.rb
Instance Method Summary collapse
Methods inherited from BaseOperation
Methods included from Output
colorize, formatted_runtime, print_backtrace, print_error, print_message, runtime_padding
Constructor Details
This class inherits a constructor from Esse::CLI::Index::BaseOperation
Instance Method Details
#run ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/esse/cli/index/import.rb', line 8 def run indices.each do |index| if (repo = @options[:repo]) index.import(repo, **) else index.import(**) end end end |