Sha256: e6cb911e50c01376dfe7585e2b0f448b9b72b39702f306f7a06a9550727810aa

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

require_relative 'command'

module Contentful
	module Importer
		class ImportAssets < Command
			self.command = 'import-assets'
			self.summary = 'Import assets.'

			def self.options
				super.concat(data_options).sort
			end

			def self.import(importer)
				importer.import_only_assets
			end

			def run
				super
				self.class.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_assets.rb
contentful-importer-0.2.1 lib/contentful/importer/import_assets.rb
contentful-importer-0.2.0 lib/contentful/importer/import_assets.rb