Implement recipe arguments
CLI will stop arguments processing after the special `--' argument, the rest will be saved in the env and accessible through a new task keyword: `recipe_argv'.
This commit is contained in:
@@ -18,6 +18,7 @@ module Producer
|
||||
def_delegators :@env, :target
|
||||
def_delegator :@env, :[], :get
|
||||
def_delegator :@env, :key?, :set?
|
||||
def_delegator :@env, :recipe_argv
|
||||
|
||||
define_action :echo, Actions::Echo
|
||||
define_action :sh, Actions::ShellCommand
|
||||
|
Reference in New Issue
Block a user