Sha256: 0e567d4118edb56ab0134a3646fe259bf4438a1ec01989574658bb59541b19a8
Contents?: true
Size: 849 Bytes
Versions: 6
Compression:
Stored size: 849 Bytes
Contents
require "thor" require_relative "deploy/backend" require_relative "deploy/staging" require_relative "deploy/testing" require_relative "deploy/web" require_relative "deploy/worker" module Dogids class Cli < Thor desc "deploy", "List available deployment commands" def deploy(app_name = nil) deploy_command = "deploy_#{app_name}" return self.send(deploy_command) if self.respond_to?(deploy_command) puts "Deployment Commands:" puts " dogids deploy backend # Deploy the new backend" puts " dogids deploy staging # Deploy the staging.dogids.com storefront" puts " dogids deploy testing # Deploy the new backend to testing" puts " dogids deploy web # Deploy the dogids.com storefront" puts " dogids deploy worker # Deploy the dogids-backgrounder app" puts " " end end end
Version data entries
6 entries across 6 versions & 1 rubygems