#!/usr/bin/env ruby require "org2slides" if ARGV.length != 1 puts "Usage: org2slides ORG_FILE_PATH" exit 1 end converter = OrgToSlides::Converter.new htmldir_name = converter.convert(ARGV[0]) puts "\n\nSlides generated here:" puts "#{htmldir_name}_generated_slides/index.html\n\n" # TODO Param to display version (-v, --version) #puts OrgToSlides::VERSION