Sha256: 309064e051acbc79272fcbb8a9c5c604e7dda0248e85c9efdd6deebe2d074627
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/optimist_xl' opts = OptimistXL::options do synopsis "Overall synopsis of this program" version "cool-script v0.3.1 (code-name: apple-cake)" banner "My Banner" opt :juice, "use juice" opt :milk, "use milk" opt :litres, "quantity of liquid", :default => 2.0 opt :brand, "brand name of the liquid", :type => :string end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
optimist_xl-3.1.1 | examples/banners2.rb |