Sha256: 170a2921011b065c7dc2b98ea13d3609c3c843aa1bae4041e991b171aad983e8
Contents?: true
Size: 1 KB
Versions: 5
Compression:
Stored size: 1 KB
Contents
# encoding: utf-8 $RUBYLIBS_DEBUG = true require 'slideshow/models' require 'slideshow/templates' ## for now add builtin templates (remove later? why? why not?) ## todo/fix: check slideshow-models - remove Env.slideshowopt here or in models? # #class Env # def self.slideshowopt # ENV[ 'SLIDESHOWOPT' ] # end #end # class Env ## more 3rd party gems require 'gli' # our own code require 'slideshow/cli/version' # note: let version always go first require 'slideshow/cli/opts' require 'slideshow/cli/main_utils' require 'slideshow/cli/main' module Slideshow =begin 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 =end def self.main exit Tool.new.run(ARGV) end end # module Slideshow Slideshow.main if __FILE__ == $0
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
slideshow-3.1.0 | lib/slideshow.rb |
slideshow-3.0.1 | lib/slideshow.rb |
slideshow-3.0.0 | lib/slideshow.rb |
slideshow-2.4.1 | lib/slideshow.rb |
slideshow-2.4.0 | lib/slideshow.rb |