Sha256: ecb592393c49a07e6ea1321f451afeb816694d252e91d9d7297ec09de9e613c8
Contents?: true
Size: 563 Bytes
Versions: 3
Compression:
Stored size: 563 Bytes
Contents
module Contentful module Importer class Import < Command require_relative 'import_assets' require_relative 'import_entries' require_relative 'import_model' self.command = 'import' self.summary = 'Import content model, entries and assets.' def self.options ImportModel.options.concat(ImportEntries.options).concat(ImportAssets.options).uniq.sort end def run super ImportModel.import(@settings, @converter, @importer) ImportEntries.import(@settings, @importer) ImportAssets.import(@importer) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
contentful-importer-0.2.2 | lib/contentful/importer/import.rb |
contentful-importer-0.2.1 | lib/contentful/importer/import.rb |
contentful-importer-0.2.0 | lib/contentful/importer/import.rb |