Sha256: 22d617ae8fa355ad74bae3622a51bc9116f0cf287eb18ba3d05d3b6ddb0c616f
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
require_relative "exporters/contentful" module Commercelayer module CLI module Exporters def export_data!(destination) commercelayer_client.authorize! case destination when "contentful" if yes? "Warning: this will export your SKUs to Contentful. Continue?", :yellow say "Exporting SKUs to Contentful...", :blue Contentful.new.export! else say "Nothing to do here. Bye!", :blue end else say "coming soon...", :yellow end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commercelayer-cli-0.2.5 | lib/commercelayer/cli/exporters.rb |