Sha256: 674893ff2322b01a08ac7779c6cce8857d6825697a641b21927d0a83a95916d3
Contents?: true
Size: 755 Bytes
Versions: 8
Compression:
Stored size: 755 Bytes
Contents
# frozen_string_literal: true require "shopify_cli" module PHP class Command class Deploy < ShopifyCLI::SubCommand prerequisite_task ensure_project_type: :php autoload :Heroku, Project.project_filepath("commands/deploy/heroku") HEROKU = "heroku" def call(args, _name) subcommand = args.shift case subcommand when HEROKU PHP::Command::Deploy::Heroku.start(@ctx) else @ctx.puts(self.class.help) end end def self.help ShopifyCLI::Context.message("php.deploy.help", ShopifyCLI::TOOL_NAME) end def self.extended_help ShopifyCLI::Context.message("php.deploy.extended_help", ShopifyCLI::TOOL_NAME) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems