Sha256: 31139ed3c6bb81ff1212e921d269990b0272ee570f90763c55d3da317e7e0db7
Contents?: true
Size: 659 Bytes
Versions: 26
Compression:
Stored size: 659 Bytes
Contents
# frozen_string_literal: true module Script class Command class Connect < ShopifyCLI::Command::SubCommand prerequisite_task :ensure_authenticated prerequisite_task ensure_project_type: :script recommend_default_ruby_range def call(_args, _) Layers::Application::ConnectApp.call(ctx: @ctx, force: true) rescue StandardError => e UI::ErrorHandler.pretty_print_and_raise(e, failed_op: @ctx.message("script.connect.error.operation_failed")) end def self.help ShopifyCLI::Context.new.message("script.connect.help", ShopifyCLI::TOOL_NAME, ShopifyCLI::TOOL_NAME) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems