bin/shelr in shelr-0.14.1 vs bin/shelr in shelr-0.15.0

- old
+ new

@@ -35,11 +35,11 @@ play RECORD_URL - play remote record play dump.json - play local file dumped with `shelr dump` Setup: - setup API_KEY - set your API key + setup API_KEY [API_URL] - set your API key and API site backend [ttyrec|script] - setup recorder backend Visit: http://shelr.tv/ for more info. HELP @@ -83,9 +83,12 @@ puts "What do you want to publish?" Shelr::Player.list puts "Select one..." end when 'setup' + if ARGV[2] + Shelr.api_url = ARGV[2] + end if ARGV[1] Shelr.api_key = ARGV[1] else puts "\n\tUsage: #{BASENAME} setup API_KEY\n\n" end