module Slideshow

NOTE: wrap gli config into a class see github.com/davetron5000/gli/issues/153

Public Class Methods

main() click to toggle source

def self.main_old

# allow env variable to set RUBYOPT-style default command line options
#   e.g. -o slides -t <your_template_manifest_here>
slideshowopt = Env.slideshowopt

args = []
args += slideshowopt.split if slideshowopt
args += ARGV.dup

Runner.new.run(args)

end

# File lib/slideshow.rb, line 48
def self.main
  exit Tool.new.run(ARGV)
end