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