Pass Parameters to Kiba run Method

两盒软妹~` 提交于 2019-12-11 02:24:10

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!