问题
I'm trying to use something similar to the code that's used for the kiba cli programmatically as ...
filename = './path/to/script.rb'
script_content = IO.read(filename)
job_definition = Kiba.parse(script_content, filename)
Kiba.run(job_definition) # <= I want to pass additional parameters here
I'd like to be able to pass parameters to via the .run command besides the job_definition. It doesn't look like the run
supports this but figured I'd check.
来源:https://stackoverflow.com/questions/31332099/pass-parameters-to-kiba-run-method