Sha256: 6cd4c8e16cc4e7e2c9c23d898bf9c51eab7d15b7f4a612e579762312fc05f2b7

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

#!/usr/bin/env ruby

require 'thor'
require "aws_one_click_staging"

class AwsOneClickStagingRunner < Thor

  default_task :start

  desc "check", "Checks if your ~/.config/aws_one_click_staging.yml for validity"
  def check
    AwsOneClickStaging.check
  end

  desc "stage", "Makes a copy of the RDS database and the staging server's S3 bucket.  This takes a while."
  def stage
    AwsOneClickStaging.stage(421)
  end

  desc "version", "Prints gem's version"
  def version
    AwsOneClickStaging::VERSION
  end
  map %w(-v --version) => :version

end

AwsOneClickStagingRunner.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws_one_click_staging-0.0.4 bin/aws_one_click_staging
aws_one_click_staging-0.0.3 bin/aws_one_click_staging
aws_one_click_staging-0.0.2 bin/aws_one_click_staging