Sha256: 517927c89f81aa27bd51875bad2f1ba72055225ce1b3b714139560edb5f91cbd
Contents?: true
Size: 616 Bytes
Versions: 4
Compression:
Stored size: 616 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 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("connect.help", ShopifyCLI::TOOL_NAME, ShopifyCLI::TOOL_NAME) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems