Sha256: 6c9e70f2a8ea2df9c5fd92b7ea0ebce7fdaa4f2b1a33bb793ebc19c49de80d7b
Contents?: true
Size: 630 Bytes
Versions: 2
Compression:
Stored size: 630 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, strict: 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shopify-cli-2.8.0 | lib/project_types/script/commands/connect.rb |
shopify-cli-2.7.4 | lib/project_types/script/commands/connect.rb |