Sha256: 97f827b0afbf82d48659d93d1b5cc7b7a3a7ed995ca8a2568510ac46588ba408
Contents?: true
Size: 625 Bytes
Versions: 9
Compression:
Stored size: 625 Bytes
Contents
# frozen_string_literal: true module Node class Command class Connect < ShopifyCli::SubCommand prerequisite_task ensure_project_type: :node def call(*) if ShopifyCli::Project.has_current? && ShopifyCli::Project.current.env @ctx.puts(@ctx.message("node.connect.production_warning")) end app = ShopifyCli::Connect.new(@ctx).default_connect("node") @ctx.done(@ctx.message("node.connect.connected", app)) end def self.help ShopifyCli::Context.message("node.connect.help", ShopifyCli::TOOL_NAME, ShopifyCli::TOOL_NAME) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems