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