Implement `-t' CLI option switch to specify target

This commit is contained in:
Thibault Jouan
2014-06-27 17:32:42 +00:00
parent e423a66d5c
commit e6ee3d5f77
6 changed files with 44 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ module Producer
end
def target(hostname)
env.target = hostname
env.target ||= hostname
end
def task(name, *args, &block)