Sha256: a8286c5a77e92eab358dc9bcb6b4fa0fbb8d3fc9e335b3bc69dff953816ad9b8
Contents?: true
Size: 554 Bytes
Versions: 3
Compression:
Stored size: 554 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require_relative '../lib/simple_provision' options = {} OptionParser.new do |opts| opts.banner = "Usage: fss [options] type" opts.on('--droplet-name NAME', 'An exiting Droplet Name' ) do |name| options[:droplet_name] = name end opts.on('-h', '--help', 'Display this screen' ) do puts opts exit end opts.on('-v', '--version', 'Show version' ) do puts SimpleProvision::Version end end.parse! options.merge!(type: ARGV.first) cli = SimpleProvision::CLI.new(options) cli.configure
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
simple_provision-0.99.5 | bin/simpro |
simple_provision-0.99.4 | bin/simpro |
simple_provision-0.99.2 | bin/simpro |