Sha256: 3ecf7584f27ee2e5c86bc5d88dc92af6e60c7a4c621cda82d69dc9d6faf5592e

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

require 'shopify_cli'

module ShopifyCli
  class Task
    def self.call(*args, **kwargs)
      task = new
      task.call(*args, **kwargs)
    end

    private

    def wants_to_run_against_shopify_org?
      @ctx.puts(@ctx.message('core.tasks.select_org_and_shop.identified_as_shopify'))
      message = @ctx.message('core.tasks.select_org_and_shop.first_party')
      CLI::UI::Prompt.confirm(message, default: false)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shopify-cli-1.6.0 lib/shopify-cli/task.rb
shopify-cli-1.5.0 lib/shopify-cli/task.rb