This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target_email = '[email protected]' # Email of the person you are cloning the pitch site to | |
target_domain = 'crushpath' #subdomain of the user you are cloning the pitch site to | |
new_name = 'event-planning' #Name of the pitch site as needed by the user | |
copy_url = "http://crushpath.crushpath.me/djennifer/event-planning" #public url of the pitch site you are cloning from. | |
if target_domain.blank? || target_email.blank? || new_name.blank? || copy_url.blank? | |
puts "Required arguments:" | |
puts "\tsubdomain=acme - the subdomain for the target user" | |
puts "\[email protected] - the user being copied to" | |
puts "\tname=upside - the new vanity name" | |
puts "\tcopy_url=http://crushpath.crushpath.me/sam - full url of the site to copy" |
NewerOlder