Sha256: 2ea8cc022ecdc002558c063cdd91c6389efde4566075bba3c0fe871a69515831

Contents?: true

Size: 843 Bytes

Versions: 5

Compression:

Stored size: 843 Bytes

Contents

#!/usr/bin/env ruby

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

require 'vcloud/net_launcher'

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

  main do |net_config_file|
    NetLauncher::NetLaunch.new.run(net_config_file, options)
  end

  on("-m", "--mock", "Fog Mock mode enabled")

  arg :net_config_file

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

  description "
  vcloud-net-launch takes a configuration describing a vCloud network,
  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::NetLauncher::VERSION

  go!
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vcloud-net_launcher-0.2.0 bin/vcloud-net-launch
vcloud-net_launcher-0.1.0 bin/vcloud-net-launch
vcloud-net_launcher-0.0.3 bin/vcloud-net-launch
vcloud-net_launcher-0.0.2 bin/vcloud-net-launch
vcloud-net_launcher-0.0.1 bin/vcloud-net-launch