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.



72
73
74
75
76
77
78
# File 'lib/runfile/runner.rb', line 72

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