Sha256: 9e3a21ee292f58d7a4cb8c0523e03c65a6b51260371dc357ce4388d059280821
Contents?: true
Size: 646 Bytes
Versions: 22
Compression:
Stored size: 646 Bytes
Contents
require "thor" require_relative "deploy/staging" 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 staging # Deploy the staging.dogids.com storefront" 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
22 entries across 22 versions & 1 rubygems