Sha256: 9ecf1a69fde70559064a497b64f14b68ccf514523db01d1d0f84862798716389
Contents?: true
Size: 727 Bytes
Versions: 1
Compression:
Stored size: 727 Bytes
Contents
#!/usr/bin/env ruby require 'methadone' require 'vcloud/edge_gateway' class App include Methadone::Main include Methadone::CLILogging main do |config_file| if options['template-vars'] Vcloud::EdgeGatewayServices.new.update(config_file, options['template-vars']) else Vcloud::EdgeGatewayServices.new.update(config_file) end end arg :config_file on('--template-vars FILE', 'Enable templating with variables from this file') description ' vcloud-edge_gateway allows you to configure an EdgeGateway with an input file which may optionally be a Mustache template. See https://github.com/alphagov/vcloud-edge_gateway for more info' version Vcloud::EdgeGateway::VERSION go! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vcloud-edge_gateway-0.4.0 | bin/vcloud-configure-edge |