#!/usr/bin/env ruby # -*- mode: ruby -*- require 'docopt' require 'org-converge' doc = < [--showfiles] [--log=] [--root-dir=] [--runmode=] [--name=] [--dir=] Options: -h --help Show this screen. OPTIONS begin require "pp" cmd = Docopt::docopt(doc) rescue Docopt::Exit => e puts e.message end exit 1 unless cmd o = OrgConverge::Command.new(cmd) o.execute!