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