Sha256: 0b2b02ff8d30fc0c640af27f96472a247c4a25b3f07ae7d285118d3d7812103c

Contents?: true

Size: 449 Bytes

Versions: 11

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true
module Rails
  module Commands
    class Connect < ShopifyCli::SubCommand
      def call(*)
        if ShopifyCli::Project.has_current? && ShopifyCli::Project.current.env
          @ctx.puts(@ctx.message("rails.connect.production_warning"))
        end

        app = ShopifyCli::Commands::Connect.new.default_connect("rails")
        @ctx.done(@ctx.message("rails.connect.connected", app))
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shopify-cli-1.14.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.13.1 lib/project_types/rails/commands/connect.rb
shopify-cli-1.13.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.12.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.11.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.10.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.9.1 lib/project_types/rails/commands/connect.rb
shopify-cli-1.9.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.8.0 lib/project_types/rails/commands/connect.rb
shopify-cli-1.7.1 lib/project_types/rails/commands/connect.rb
shopify-cli-1.7.0 lib/project_types/rails/commands/connect.rb