Sha256: 1cb7e3b4d861a5748de264bf4b464aaf92868b0ae4983150474e89c679851721

Contents?: true

Size: 731 Bytes

Versions: 13

Compression:

Stored size: 731 Bytes

Contents

# frozen_string_literal: true

module Script
  class Command
    class Push < ShopifyCLI::Command::SubCommand
      hidden_feature

      options do |parser, flags|
        parser.on("--force") { |t| flags[:force] = t }
        parser.on("--api-key=API_KEY") { |api_key| flags[:api_key] = api_key.gsub('"', "") }
        parser.on("--api-secret=API_SECRET") { |api_secret| flags[:api_secret] = api_secret.gsub('"', "") }
        parser.on("--uuid=UUID") do |uuid|
          flags[:uuid] = uuid.gsub('""', "")
        end
      end

      def call(_args, _)
        @ctx.abort(@ctx.message("script.deprecated"))
      end

      def self.help
        ShopifyCLI::Context.new.message("script.deprecated")
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
shopify-cli-2.36.0 lib/project_types/script/commands/push.rb
shopify-cli-2.35.0 lib/project_types/script/commands/push.rb
shopify-cli-2.34.0 lib/project_types/script/commands/push.rb
shopify-cli-2.33.1 lib/project_types/script/commands/push.rb
shopify-cli-2.33.0 lib/project_types/script/commands/push.rb
shopify-cli-2.32.1 lib/project_types/script/commands/push.rb
shopify-cli-2.32.0 lib/project_types/script/commands/push.rb
shopify-cli-2.31.0 lib/project_types/script/commands/push.rb
shopify-cli-2.30.0 lib/project_types/script/commands/push.rb
shopify-cli-2.29.0 lib/project_types/script/commands/push.rb
shopify-cli-2.28.0 lib/project_types/script/commands/push.rb
shopify-cli-2.27.0 lib/project_types/script/commands/push.rb
shopify-cli-2.26.0 lib/project_types/script/commands/push.rb