Sha256: f4f5f6acf14359721cfd3a9f8ac207057c5aa0e83ea1911c0531a5d5e960e7e3

Contents?: true

Size: 948 Bytes

Versions: 3

Compression:

Stored size: 948 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'bundler/setup'
require 'optparse'
require 'methadone'

require 'vcloud/launcher'

class App
  include Methadone::Main
  include Methadone::CLILogging

  main do |org_config_file|
    Vcloud::Launcher::Launch.new.run(org_config_file, options)
  end

  on("-x", "--dont-power-on", "Do not power on vApps (default is to power on)")
  on("-c", "--continue-on-error", "Continue on error ( default is false) ")

  arg :org_config_file

  examples_dir = File.absolute_path(
    File.join(
      File.dirname(__FILE__),
      "..",
      "examples",
      File.basename(__FILE__),
  ))

  description "
  vcloud-launch takes a configuration describing a vCloud Org,
  and tries to make it a reality.

  See https://github.com/alphagov/vcloud-tools for more info

  Example configuration files can be found in:
    #{examples_dir}
  "

  version Vcloud::Launcher::VERSION

  #use_log_level_option

  go!
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vcloud-launcher-0.0.4 bin/vcloud-launch
vcloud-launcher-0.0.3 bin/vcloud-launch
vcloud-launcher-0.0.2 bin/vcloud-launch