Sha256: 9d1f9ed0fab00b68d87e2ca8b04fd5447cb9d0de245218cee23528036d0f3cc0

Contents?: true

Size: 717 Bytes

Versions: 192

Compression:

Stored size: 717 Bytes

Contents

#!/usr/bin/env ruby

require 'smartcloud'

if ARGV[0] == 'prereceive'
	raise "Please provide appname, username, oldrev, newrev and refname" unless ARGV[1] && ARGV[2] && ARGV[3] && ARGV[4] && ARGV[5]
	Smartcloud::Grids::Runner.prereceive_app(ARGV[1], ARGV[2], ARGV[3], ARGV[4], ARGV[5])
elsif ARGV[0] == 'apps'
	raise "Please provide appname" unless ARGV[2]
	if ARGV[1] == 'create'
		raise "Please provide username" unless ARGV[3]
		Smartcloud::Grids::Runner.create_app(ARGV[2], ARGV[3])
	elsif ARGV[1] == 'start'
		Smartcloud::Grids::Runner.start_app(ARGV[2])
	elsif ARGV[1] == 'stop'
		Smartcloud::Grids::Runner.stop_app(ARGV[2])
	elsif ARGV[1] == 'destroy'
		Smartcloud::Grids::Runner.destroy_app(ARGV[2])
	end
end

Version data entries

192 entries across 192 versions & 1 rubygems

Version Path
smartcloud-0.2.0.beta2 bin/runner
smartcloud-0.2.0.beta1 bin/runner
smartcloud-0.1.0 bin/runner
smartcloud-0.1.0.rc4 bin/runner
smartcloud-0.1.0.rc3 bin/runner
smartcloud-0.1.0.rc2 bin/runner
smartcloud-0.1.0.rc1 bin/runner
smartcloud-0.1.0.beta5 bin/runner
smartcloud-0.1.0.beta4 bin/runner
smartcloud-0.1.0.beta3 bin/runner
smartcloud-0.1.0.beta2 bin/runner
smartcloud-0.1.0.beta1 bin/runner
smartcloud-0.0.210 bin/runner
smartcloud-0.0.209 bin/runner
smartcloud-0.0.208 bin/runner
smartcloud-0.0.207 bin/runner
smartcloud-0.0.206 bin/runner
smartcloud-0.0.205 bin/runner
smartcloud-0.0.204 bin/runner
smartcloud-0.0.203 bin/runner