Sha256: 18eac4f4e4f9a94772626daa97d2fcf94c6cdf294d3b34c696764f9e36345fed

Contents?: true

Size: 660 Bytes

Versions: 9

Compression:

Stored size: 660 Bytes

Contents

# frozen_string_literal: true

require_relative "base_strategy_form"

module ShopifyCLI
  module Theme
    class Syncer
      class Uploader
        module Forms
          class SelectUpdateStrategy < BaseStrategyForm
            flag_arguments :file, :exists_remotely

            def strategies
              %i[
                keep_remote
                keep_local
                union_merge
                exit
              ]
            end

            def prefix
              "theme.serve.syncer.forms.#{exists_remotely ? "update_strategy" : "update_remote_deleted_strategy"}"
            end
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shopify-cli-2.36.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.35.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.34.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.33.1 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.33.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.32.1 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.32.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.31.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
shopify-cli-2.30.0 lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb