Specify alternate run control file path from CLI

This commit is contained in:
Thibault Jouan
2015-04-14 00:39:36 +00:00
parent 7493ab3284
commit 62c824cd7d
4 changed files with 24 additions and 0 deletions

View File

@@ -64,6 +64,11 @@ module Uh
@env.log_logger_level
end
opts.on '-f', '--run-control PATH',
'specify alternate run control file' do |e|
@env.rc_path = e
end
opts.on '-r', '--require PATH', 'require ruby feature' do |feature|
require feature
@env.log "Loaded `#{feature}' ruby feature"