Sha256: 097e042492d5f1ad9e7b4b7018455861dce709b06a9fd645d585d20471a32647
Contents?: true
Size: 760 Bytes
Versions: 9
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
9 entries across 9 versions & 1 rubygems