Sha256: 2ba8634eea0bc605b9713dce9a0956e67d4cc4882e8b2e16f2f49ec81718b0ec
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
#!/usr/bin/env ruby if ARGV.any? api_key, api_secret = ARGV.first.split(':') else p "This utility will help you set up your system to use TestingBot's infrastructure." p "Once you have entered your API key and secret you will be ready to use our grid" p "You can get these credentials from the TestingBot dashboard: https://testingbot.com/members" p "Please enter your testingbot API KEY:" api_key = gets.chomp p "Please enter your testingbot API SECRET:" api_secret = gets.chomp end File.open(File.join(Dir.home, ".testingbot"), 'w') {|f| f.write("#{api_key}:#{api_secret}") } p "Your system is now ready to use TestingBot's grid infrastructure."
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
testingbot-0.2.3 | bin/testingbot |