Sha256: 0c57b508bd7ba3c497996df0ae625b7e1fe48cfe81177fe7c67bb77573b04576

Contents?: true

Size: 445 Bytes

Versions: 11

Compression:

Stored size: 445 Bytes

Contents

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

        app = ShopifyCli::Commands::Connect.new.default_connect("node")
        @ctx.done(@ctx.message("node.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/node/commands/connect.rb
shopify-cli-1.13.1 lib/project_types/node/commands/connect.rb
shopify-cli-1.13.0 lib/project_types/node/commands/connect.rb
shopify-cli-1.12.0 lib/project_types/node/commands/connect.rb
shopify-cli-1.11.0 lib/project_types/node/commands/connect.rb
shopify-cli-1.10.0 lib/project_types/node/commands/connect.rb
shopify-cli-1.9.1 lib/project_types/node/commands/connect.rb
shopify-cli-1.9.0 lib/project_types/node/commands/connect.rb
shopify-cli-1.8.0 lib/project_types/node/commands/connect.rb
shopify-cli-1.7.1 lib/project_types/node/commands/connect.rb
shopify-cli-1.7.0 lib/project_types/node/commands/connect.rb