Sha256: 7584ebfb6c85a9f503a156413f3835b6b5cd0bb626ca62c9c51dd2c40ca3a9e6
Contents?: true
Size: 985 Bytes
Versions: 18
Compression:
Stored size: 985 Bytes
Contents
require "shopify_cli" module ShopifyCLI module Core module EntryPoint class << self def call(args, ctx = Context.new) if ctx.development? && !ctx.testing? ctx.warn( ctx.message("core.warning.development_version", File.join(ShopifyCLI::ROOT, "bin", ShopifyCLI::TOOL_NAME)) ) elsif !ctx.testing? new_version = ctx.new_version ctx.warn(ctx.message("core.warning.new_version", ShopifyCLI::VERSION, new_version)) unless new_version.nil? end ProjectType.load_all task_registry = ShopifyCLI::Tasks::Registry command, command_name, args = ShopifyCLI::Resolver.call(args) executor = ShopifyCLI::Core::Executor.new(ctx, task_registry, log_file: ShopifyCLI.log_file) ShopifyCLI::Core::Monorail.log(command_name, args) do executor.call(command, command_name, args) end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems