Method: Runfile::Runner#run

Defined in:
lib/runfile/runner.rb

#run(*argv) ⇒ Object

Run the command. This is a wrapper around docopt. It will generate the docopt document on the fly, using all the information collected so far.



78
79
80
81
82
83
84
# File 'lib/runfile/runner.rb', line 78

def run(*argv)
	begin
		docopt_exec argv
	rescue Docopt::Exit => ex
		puts ex.message
	end
end